-/* $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 <GL/gl.h>
+#include <msp/strings/lexicalcast.h>
+#include "gl.h"
namespace Msp {
namespace GL {
TRIANGLE_STRIP = GL_TRIANGLE_STRIP,
TRIANGLE_FAN = GL_TRIANGLE_FAN,
QUADS = GL_QUADS,
- QUAD = GL_QUAD_STRIP,
+ QUAD_STRIP = GL_QUAD_STRIP,
POLYGON = GL_POLYGON
};
+void operator>>(const LexicalConverter &, PrimitiveType &);
+
} // namespace GL
} // namespace Msp