summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-08-24 21:05:51 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-09-05 17:53:16 +0200
commit9a77d0471a655b2903a9e2696aa91b4b92267583 (patch)
treee2505b721ae4493d42e768eb665138d2726ad8dc /src/mesa
parentbeb3d030a1a23b827535e7c5845e53f9a77e716a (diff)
mesa: don't expose unsupported GL_ARB_geometry_shader4 for now
The new GLSL compiler doesn't support it. Advertising it prevents Unigine Heaven from working, since it attempts to use it.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/extensions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index c9862ca29e..50b97f5113 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -58,7 +58,8 @@ static const struct {
{ OFF, "GL_ARB_fragment_shader", F(ARB_fragment_shader) },
{ OFF, "GL_ARB_framebuffer_object", F(ARB_framebuffer_object) },
{ OFF, "GL_ARB_explicit_attrib_location", F(ARB_explicit_attrib_location) },
- { OFF, "GL_ARB_geometry_shader4", F(ARB_geometry_shader4) },
+ /* TODO: reenable this when the new GLSL compiler actually supports them */
+ /* { OFF, "GL_ARB_geometry_shader4", F(ARB_geometry_shader4) }, */
{ OFF, "GL_ARB_half_float_pixel", F(ARB_half_float_pixel) },
{ OFF, "GL_ARB_half_float_vertex", F(ARB_half_float_vertex) },
{ OFF, "GL_ARB_imaging", F(ARB_imaging) },