summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2012-09-10 08:46:51 +0300
committerOliver McFadden <[email protected]>2012-10-10 12:43:26 +0300
commitdd6479160cbde0937a0e867ca5c781584024ba53 (patch)
treef4734eff10f5ec6582ebf05648e78989decba370
parentd220435416bace2e4a1cf9c3b4c3e2352d8301cf (diff)
mesa: glGet: remove the unused TYPE_API_MASK flags
Since we generate the hash tables in build time, these flags aren't used any more, remove them. Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Oliver McFadden <[email protected]>
-rw-r--r--src/mesa/main/get.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index c5ccd66ec26..b943d69b71b 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -84,7 +84,6 @@
enum value_type {
TYPE_INVALID,
- TYPE_API_MASK,
TYPE_INT,
TYPE_INT_2,
TYPE_INT_3,
@@ -386,11 +385,6 @@ extra_NV_read_buffer_api_gl[] = {
EXTRA_END
};
-#define API_OPENGL_BIT (1 << API_OPENGL)
-#define API_OPENGLES_BIT (1 << API_OPENGLES)
-#define API_OPENGLES2_BIT (1 << API_OPENGLES2)
-#define API_OPENGL_CORE_BIT (1 << API_OPENGL_CORE)
-
/* This is the big table describing all the enums we accept in
* glGet*v(). The table is partitioned into six parts: enums
* understood by all GL APIs (OpenGL, GLES and GLES2), enums shared