enable ARB_fragment/vertex_shader

This commit is contained in:
Michal Krol
2005-01-13 14:09:18 +00:00
parent 9b3752c8ab
commit 0e85388ba8

View File

@@ -202,10 +202,10 @@ _mesa_enable_sw_extensions(GLcontext *ctx)
#if FEATURE_ARB_shader_objects
ctx->Extensions.ARB_shader_objects = GL_TRUE;
#if FEATURE_ARB_fragment_shader
ctx->Extensions.ARB_fragment_shader = GL_FALSE; /*GL_TRUE;*/
ctx->Extensions.ARB_fragment_shader = GL_TRUE;
#endif
#if FEATURE_ARB_vertex_shader
ctx->Extensions.ARB_vertex_shader = GL_FALSE; /*GL_TRUE;*/
ctx->Extensions.ARB_vertex_shader = GL_TRUE;
#endif
#endif
#if FEATURE_ATI_fragment_shader
@@ -364,10 +364,10 @@ _mesa_enable_2_0_extensions(GLcontext *ctx)
#if FEATURE_ARB_shader_objects
ctx->Extensions.ARB_shader_objects = GL_TRUE;
#if FEATURE_ARB_fragment_shader
ctx->Extensions.ARB_fragment_shader = GL_FALSE; /*GL_TRUE;*/
ctx->Extensions.ARB_fragment_shader = GL_TRUE;
#endif
#if FEATURE_ARB_vertex_shader
ctx->Extensions.ARB_vertex_shader = GL_FALSE; /*GL_TRUE;*/
ctx->Extensions.ARB_vertex_shader = GL_TRUE;
#endif
#endif
}