]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/primitivetype.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / core / primitivetype.h
index 8e33b1da141fc6cfabfc473329c9e73bb71f3607..ae9be607e006d4fc742bff379ce3716239ab0e22 100644 (file)
@@ -2,20 +2,19 @@
 #define MSP_GL_PRIMITIVETYPE_H_
 
 #include <msp/strings/lexicalcast.h>
-#include "gl.h"
 
 namespace Msp {
 namespace GL {
 
 enum PrimitiveType
 {
-       POINTS         = GL_POINTS,
-       LINES          = GL_LINES,
-       LINE_STRIP     = GL_LINE_STRIP,
-       LINE_LOOP      = GL_LINE_LOOP,
-       TRIANGLES      = GL_TRIANGLES,
-       TRIANGLE_STRIP = GL_TRIANGLE_STRIP,
-       TRIANGLE_FAN   = GL_TRIANGLE_FAN
+       POINTS,
+       LINES,
+       LINE_STRIP,
+       TRIANGLES,
+       TRIANGLE_STRIP,
+       TRIANGLE_FAN,
+       PATCHES
 };
 
 void operator>>(const LexicalConverter &, PrimitiveType &);
@@ -23,4 +22,6 @@ void operator>>(const LexicalConverter &, PrimitiveType &);
 } // namespace GL
 } // namespace Msp
 
+#include "primitivetype_backend.h"
+
 #endif