summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-11-02 22:40:43 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-11-02 22:40:43 +0000
commitaf864bb0daf3aba9bc2526d207925eea0c44d162 (patch)
treed84f5d0d433edb8c10d1515247f686f131101bfb
parente812081253b2857b59d17f40dc6c9909e1957d87 (diff)
check for shader extensions for OpenGL 2.0
-rw-r--r--src/mesa/main/getstring.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c
index f2989aaefa..f68bbf2ff3 100644
--- a/src/mesa/main/getstring.c
+++ b/src/mesa/main/getstring.c
@@ -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 {