summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-12-08 17:17:19 -0800
committerMatt Turner <[email protected]>2013-01-10 10:57:51 -0800
commit92855727f1e0ce1a9861e8f7b6c3ca2b6ffbe440 (patch)
tree37e8ff366e306923ecf89d4bf8211d5da5e002d5 /src/mesa/main/get.c
parent5bb1827d9537c6fca438baeae68eb097dcb44a65 (diff)
mesa: De-duplicate ES2 queries
From GL/GLES/GL_CORE and GLES2 -> GL/GL_CORE/GLES2. Yes, we really were exposing ES2_compatibility queries on ES 1. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r--src/mesa/main/get.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 91ba599513e..6490db20da3 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -303,8 +303,12 @@ static const int extra_ARB_uniform_buffer_object_and_geometry_shader[] = {
EXTRA_END
};
+static const int extra_ARB_ES2_compatibility_api_es2[] = {
+ EXT(ARB_ES2_compatibility),
+ EXTRA_API_ES2,
+ EXTRA_END
+};
-EXTRA_EXT(ARB_ES2_compatibility);
EXTRA_EXT(ARB_texture_cube_map);
EXTRA_EXT(MESA_texture_array);
EXTRA_EXT2(EXT_secondary_color, ARB_vertex_program);