summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get_gen.py
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-06-11 20:13:07 -0600
committerKeith Whitwell <keith@tungstengraphics.com>2008-09-21 22:13:53 -0700
commitddd630ef907cd6bb91bad0c9f5db83f2fa67be47 (patch)
treebbe3a398966106e6d6f37e9f2a58c78e7646b125 /src/mesa/main/get_gen.py
parentae1fdc15238498bf025d0f0be7337e2f9dda455f (diff)
mesa: refactor: move various ENUM_TO_x macros into macros.h
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r--src/mesa/main/get_gen.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py
index 1c0279c0262..decc9dd52a6 100644
--- a/src/mesa/main/get_gen.py
+++ b/src/mesa/main/get_gen.py
@@ -1129,10 +1129,6 @@ def EmitHeader():
#define INT_TO_BOOLEAN(I) ( (I) ? GL_TRUE : GL_FALSE )
-#define ENUM_TO_BOOLEAN(E) ( (E) ? GL_TRUE : GL_FALSE )
-#define ENUM_TO_INT(E) ( (GLint) (E) )
-#define ENUM_TO_FLOAT(E) ( (GLfloat) (E) )
-
#define BOOLEAN_TO_INT(B) ( (GLint) (B) )
#define BOOLEAN_TO_FLOAT(B) ( (B) ? 1.0F : 0.0F )