From: Brian Paul Date: Thu, 2 Nov 2006 22:40:43 +0000 (+0000) Subject: check for shader extensions for OpenGL 2.0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af864bb0daf3aba9bc2526d207925eea0c44d162;p=mesa.git check for shader extensions for OpenGL 2.0 --- diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index f2989aaefa4..f68bbf2ff39 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 {