From: Marek Olšák Date: Sun, 6 Jun 2010 18:49:14 +0000 (+0200) Subject: st/mesa: advertise GL_ARB_fragment_program_shadow X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aeffba454f8f5bc63bf97c1a0925cfef51af13c2;p=mesa.git 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. --- diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 8204fefc4c6..d0ea89f4f4f 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -308,6 +308,7 @@ void st_init_extensions(struct st_context *st) if (screen->get_param(screen, PIPE_CAP_TEXTURE_SHADOW_MAP)) { ctx->Extensions.ARB_depth_texture = GL_TRUE; + ctx->Extensions.ARB_fragment_program_shadow = GL_TRUE; ctx->Extensions.ARB_shadow = GL_TRUE; ctx->Extensions.EXT_shadow_funcs = GL_TRUE; /*ctx->Extensions.ARB_shadow_ambient = GL_TRUE;*/