st/mesa: advertise GL_ARB_fragment_program_shadow

There is nothing driver-specific about this one.
I've also tested it just to be sure.
This commit is contained in:
Marek Olšák
2010-06-06 20:49:14 +02:00
parent eb2a1521cf
commit aeffba454f

View File

@@ -308,6 +308,7 @@ void st_init_extensions(struct st_context *st)
if (screen->get_param(screen, PIPE_CAP_TEXTURE_SHADOW_MAP)) { if (screen->get_param(screen, PIPE_CAP_TEXTURE_SHADOW_MAP)) {
ctx->Extensions.ARB_depth_texture = GL_TRUE; ctx->Extensions.ARB_depth_texture = GL_TRUE;
ctx->Extensions.ARB_fragment_program_shadow = GL_TRUE;
ctx->Extensions.ARB_shadow = GL_TRUE; ctx->Extensions.ARB_shadow = GL_TRUE;
ctx->Extensions.EXT_shadow_funcs = GL_TRUE; ctx->Extensions.EXT_shadow_funcs = GL_TRUE;
/*ctx->Extensions.ARB_shadow_ambient = GL_TRUE;*/ /*ctx->Extensions.ARB_shadow_ambient = GL_TRUE;*/