replace some of the glBegin,glEnd calls with glDrawArrays
[supertux.git] / src / video / glutil.hpp
index 2c66dd6..85200bd 100644 (file)
 #ifndef __GLUTIL_HPP__
 #define __GLUTIL_HPP__
 
-typedef unsigned int GLenum;
-typedef int GLint;
+#include <config.h>
 
-#define GL_ZERO 0x0
-#define GL_ONE 0x1
-#define GL_SRC_COLOR 0x0300
-#define GL_SRC_ALPHA 0x0302
-#define GL_ONE_MINUS_SRC_ALPHA 0x0303
-#define GL_DST_COLOR 0x0306
-
-//#include <config.h>
-
-#if 0
 #ifdef HAVE_OPENGL
 
 #include <sstream>
@@ -109,6 +98,5 @@ static inline void assert_gl(const char* message)
 #define GL_ONE 3
 
 #endif
-#endif
 
 #endif