]> git.tdb.fi Git - libs/gl.git/blobdiff - source/primitivetype.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / primitivetype.h
index f4f665e3cd19744757b98399bd3d1f776c3a192f..8e33b1da141fc6cfabfc473329c9e73bb71f3607 100644 (file)
@@ -1,14 +1,7 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GL_PRIMITIVETYPE_H_
 #define MSP_GL_PRIMITIVETYPE_H_
 
-#include <istream>
+#include <msp/strings/lexicalcast.h>
 #include "gl.h"
 
 namespace Msp {
@@ -22,13 +15,10 @@ enum PrimitiveType
        LINE_LOOP      = GL_LINE_LOOP,
        TRIANGLES      = GL_TRIANGLES,
        TRIANGLE_STRIP = GL_TRIANGLE_STRIP,
-       TRIANGLE_FAN   = GL_TRIANGLE_FAN,
-       QUADS          = GL_QUADS,
-       QUAD_STRIP     = GL_QUAD_STRIP,
-       POLYGON        = GL_POLYGON
+       TRIANGLE_FAN   = GL_TRIANGLE_FAN
 };
 
-std::istream &operator>>(std::istream &in, PrimitiveType &pt);
+void operator>>(const LexicalConverter &, PrimitiveType &);
 
 } // namespace GL
 } // namespace Msp