From af864bb0daf3aba9bc2526d207925eea0c44d162 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 2 Nov 2006 22:40:43 +0000 Subject: check for shader extensions for OpenGL 2.0 --- src/mesa/main/getstring.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/getstring.c') 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 { -- cgit v1.2.3