]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/predicate.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / core / predicate.h
index c7e5991ea03c2c205b8b07a7fa310b2c1927c7f7..38053d03f53a40541b3c9570d2b4297318ef10ba 100644 (file)
@@ -2,12 +2,11 @@
 #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,
        ALWAYS,
@@ -19,12 +18,12 @@ enum Predicate
        NOTEQUAL
 };
 
-GLenum get_gl_predicate(Predicate);
-
 void operator>>(const LexicalConverter &, Predicate &);
 void operator<<(LexicalConverter &, Predicate);
 
 } // namespace GL
 } // namespace Msp
 
+#include "predicate_backend.h"
+
 #endif