summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Miell <[email protected]>2011-09-19 23:17:01 -0700
committerMarek Olšák <[email protected]>2011-11-01 11:37:11 +0100
commit64cebb6c8339f515ff8acb7c34fd0615b0e34a19 (patch)
tree042788369033619c58495eddc18c5b4743cbb70e
parentfadd5e1b00a587ad73f64ccfae59a742ea1b5bbe (diff)
st/mesa: Enable NV_fog_distance for Gallium drivers
The fixed-function generated vertex program is all that's needed for Gallium drivers.
-rw-r--r--src/mesa/state_tracker/st_extensions.c1
1 files changed, 1 insertions, 0 deletions
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;