From 64cebb6c8339f515ff8acb7c34fd0615b0e34a19 Mon Sep 17 00:00:00 2001 From: Nicholas Miell Date: Mon, 19 Sep 2011 23:17:01 -0700 Subject: [PATCH] st/mesa: Enable NV_fog_distance for Gallium drivers The fixed-function generated vertex program is all that's needed for Gallium drivers. --- src/mesa/state_tracker/st_extensions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index f97cf369742..e5d07f6c771 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -291,6 +291,7 @@ void st_init_extensions(struct st_context *st) ctx->Extensions.MESA_pack_invert = GL_TRUE; ctx->Extensions.NV_blend_square = GL_TRUE; + ctx->Extensions.NV_fog_distance = GL_TRUE; ctx->Extensions.NV_texgen_reflection = GL_TRUE; ctx->Extensions.NV_texture_env_combine4 = GL_TRUE; ctx->Extensions.NV_texture_rectangle = GL_TRUE; -- 2.30.2