diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-11-02 22:40:43 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-11-02 22:40:43 +0000 |
commit | af864bb0daf3aba9bc2526d207925eea0c44d162 (patch) | |
tree | d84f5d0d433edb8c10d1515247f686f131101bfb | |
parent | e812081253b2857b59d17f40dc6c9909e1957d87 (diff) |
check for shader extensions for OpenGL 2.0
-rw-r--r-- | src/mesa/main/getstring.c | 6 |
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 { |