check for shader extensions for OpenGL 2.0
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 22:40:43 +0000 (22:40 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 22:40:43 +0000 (22:40 +0000)
src/mesa/main/getstring.c

index f2989aaefa48a3f1407ca978ef349950c11dd71d..f68bbf2ff397c775e41d3bcadc5268f923b4f583 100644 (file)
@@ -110,8 +110,10 @@ _mesa_GetString( GLenum name )
                    ctx->Extensions.EXT_shadow_funcs) {
                   if (ctx->Extensions.ARB_draw_buffers &&
                       ctx->Extensions.ARB_point_sprite &&
-                      ctx->Extensions.ARB_texture_non_power_of_two &&
-                      ctx->Extensions.ATI_separate_stencil) {
+                      ctx->Extensions.ARB_shader_objects &&
+                      ctx->Extensions.ARB_vertex_shader &&
+                      ctx->Extensions.ARB_fragment_shader &&
+                      ctx->Extensions.ARB_texture_non_power_of_two) {
                      return (const GLubyte *) version_2_0;
                   }
                   else {