]> 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 079ef63e3daa0fb493d965ed389b74f37ebf254a..38053d03f53a40541b3c9570d2b4297318ef10ba 100644 (file)
@@ -6,7 +6,7 @@
 namespace Msp {
 namespace GL {
 
-enum Predicate
+enum Predicate: std::uint8_t
 {
        NEVER,
        ALWAYS,
@@ -18,12 +18,12 @@ enum Predicate
        NOTEQUAL
 };
 
-unsigned get_gl_predicate(Predicate);
-
 void operator>>(const LexicalConverter &, Predicate &);
 void operator<<(LexicalConverter &, Predicate);
 
 } // namespace GL
 } // namespace Msp
 
+#include "predicate_backend.h"
+
 #endif