summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get_gen.py
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-11 20:13:07 -0600
committerBrian Paul <[email protected]>2008-06-11 20:17:08 -0600
commit222c80893a738b964dc75796d47545d88e6a6973 (patch)
treeef2bc44d24b5a1bcd7b0f9602d2d004fed9bad98 /src/mesa/main/get_gen.py
parent77b794201a96300af4473307a7663500d62296e8 (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 90554332814..c307058da65 100644
--- a/src/mesa/main/get_gen.py
+++ b/src/mesa/main/get_gen.py
@@ -1127,10 +1127,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 )