projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e812081
)
check for shader extensions for OpenGL 2.0
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 22:40:43 +0000
(22:40 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 22:40:43 +0000
(22:40 +0000)
src/mesa/main/getstring.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/getstring.c
b/src/mesa/main/getstring.c
index f2989aaefa48a3f1407ca978ef349950c11dd71d..f68bbf2ff397c775e41d3bcadc5268f923b4f583 100644
(file)
--- 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 {