From: Michal Krol Date: Wed, 15 Feb 2006 11:00:15 +0000 (+0000) Subject: Enable GL_ARB_fragment_shader extension. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c8e578a3834882a3a1ce0b755955ae18bdee645;p=mesa.git Enable GL_ARB_fragment_shader extension. --- diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 09886ac25e7..6cca9244328 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -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;