#define MSP_GL_PREDICATE_H_
#include <msp/strings/lexicalcast.h>
-#include "gl.h"
namespace Msp {
namespace GL {
-enum Predicate
+enum Predicate: std::uint8_t
{
- NEVER = GL_NEVER,
- ALWAYS = GL_ALWAYS,
- LESS = GL_LESS,
- LEQUAL = GL_LEQUAL,
- EQUAL = GL_EQUAL,
- GREATER = GL_GREATER,
- GEQUAL = GL_GEQUAL,
- NOTEQUAL = GL_NOTEQUAL
+ NEVER,
+ ALWAYS,
+ LESS,
+ LEQUAL,
+ EQUAL,
+ GREATER,
+ GEQUAL,
+ NOTEQUAL
};
void operator>>(const LexicalConverter &, Predicate &);
} // namespace GL
} // namespace Msp
+#include "predicate_backend.h"
+
#endif