X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fpredicate.h;h=38053d03f53a40541b3c9570d2b4297318ef10ba;hp=13c22e84dc0b4300ad98bd268179aebaa8937e1d;hb=HEAD;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266 diff --git a/source/core/predicate.h b/source/core/predicate.h index 13c22e84..38053d03 100644 --- a/source/core/predicate.h +++ b/source/core/predicate.h @@ -2,21 +2,20 @@ #define MSP_GL_PREDICATE_H_ #include -#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 &); @@ -25,4 +24,6 @@ void operator<<(LexicalConverter &, Predicate); } // namespace GL } // namespace Msp +#include "predicate_backend.h" + #endif