mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-23 11:40:39 +02:00
check for shader extensions for OpenGL 2.0
This commit is contained in:
parent
e812081253
commit
af864bb0da
1 changed files with 4 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue