projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace some of the glBegin,glEnd calls with glDrawArrays
[supertux.git]
/
src
/
video
/
glutil.hpp
diff --git
a/src/video/glutil.hpp
b/src/video/glutil.hpp
index
2c66dd6
..
85200bd
100644
(file)
--- a/
src/video/glutil.hpp
+++ b/
src/video/glutil.hpp
@@
-19,19
+19,8
@@
#ifndef __GLUTIL_HPP__
#define __GLUTIL_HPP__
#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>
#ifdef HAVE_OPENGL
#include <sstream>
@@
-109,6
+98,5
@@
static inline void assert_gl(const char* message)
#define GL_ONE 3
#endif
#define GL_ONE 3
#endif
-#endif
#endif
#endif