]> git.tdb.fi Git - libs/gl.git/blobdiff - source/primitivetype.h
Remove a number of rarely used legacy features
[libs/gl.git] / source / primitivetype.h
index 4001852575aa0a905a40ac253c1d2c1b4827de23..777558a1ac9a22757ef9b043b5cea4ee17a939c1 100644 (file)
@@ -1,15 +1,8 @@
-/* $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 <GL/gl.h>
+#include <msp/strings/lexicalcast.h>
+#include "gl.h"
 
 namespace Msp {
 namespace GL {
@@ -24,11 +17,10 @@ enum PrimitiveType
        TRIANGLE_STRIP = GL_TRIANGLE_STRIP,
        TRIANGLE_FAN   = GL_TRIANGLE_FAN,
        QUADS          = GL_QUADS,
-       QUAD_STRIP     = GL_QUAD_STRIP,
-       POLYGON        = GL_POLYGON
+       QUAD_STRIP     = GL_QUAD_STRIP
 };
 
-std::istream &operator>>(std::istream &in, PrimitiveType &pt);
+void operator>>(const LexicalConverter &, PrimitiveType &);
 
 } // namespace GL
 } // namespace Msp