summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/gamma/gamma_context.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-02-26 00:28:03 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-02-26 00:28:03 +0000
commit04bcaac383cb6d3d5bceb7ecf65ff97c10aa7111 (patch)
treef43fb3876dd9d9f33272e9c17e676d81b6b566af /src/mesa/drivers/dri/gamma/gamma_context.c
parent21893e56e0be42691611141d0adab86819fda8c9 (diff)
added _tnl_allow_vertex/pixel_fog() calls
Diffstat (limited to 'src/mesa/drivers/dri/gamma/gamma_context.c')
-rw-r--r--src/mesa/drivers/dri/gamma/gamma_context.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/gamma/gamma_context.c b/src/mesa/drivers/dri/gamma/gamma_context.c
index 66f330758a..107eca56f6 100644
--- a/src/mesa/drivers/dri/gamma/gamma_context.c
+++ b/src/mesa/drivers/dri/gamma/gamma_context.c
@@ -156,10 +156,12 @@ GLboolean gammaCreateContext( const __GLcontextModes *glVisual,
_tnl_destroy_pipeline( ctx );
_tnl_install_pipeline( ctx, gamma_pipeline );
- /* Configure swrast to match hardware characteristics:
+ /* Configure swrast & TNL to match hardware characteristics:
*/
_swrast_allow_pixel_fog( ctx, GL_FALSE );
_swrast_allow_vertex_fog( ctx, GL_TRUE );
+ _tnl_allow_pixel_fog( ctx, GL_FALSE );
+ _tnl_allow_vertex_fog( ctx, GL_TRUE );
gammaInitVB( ctx );
gammaDDInitExtensions( ctx );