Enable GL_ARB_fragment_shader extension.
authorMichal Krol <mjkrol@gmail.org>
Wed, 15 Feb 2006 11:00:15 +0000 (11:00 +0000)
committerMichal Krol <mjkrol@gmail.org>
Wed, 15 Feb 2006 11:00:15 +0000 (11:00 +0000)
src/mesa/main/extensions.c

index 09886ac25e789933cbb22ac7d87467ec598fc31a..6cca92443283b3ce27210a8115655f4de69aa89c 100644 (file)
@@ -179,7 +179,7 @@ _mesa_enable_sw_extensions(GLcontext *ctx)
 #if FEATURE_ARB_fragment_program
    ctx->Extensions.ARB_fragment_program = GL_TRUE;
 #endif
-#if 0 && FEATURE_ARB_fragment_shader
+#if FEATURE_ARB_fragment_shader
    ctx->Extensions.ARB_fragment_shader = GL_TRUE;
 #endif
    /*ctx->Extensions.ARB_half_float_pixel = GL_TRUE;*/
@@ -365,7 +365,7 @@ void
 _mesa_enable_2_0_extensions(GLcontext *ctx)
 {
    ctx->Extensions.ARB_draw_buffers = GL_TRUE;
-#if 0 && FEATURE_ARB_fragment_shader
+#if FEATURE_ARB_fragment_shader
    ctx->Extensions.ARB_fragment_shader = GL_TRUE;
 #endif
    ctx->Extensions.ARB_point_sprite = GL_TRUE;