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:
@@ -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;*/
|
||||||
|
Reference in New Issue
Block a user