summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-02-24 16:11:30 +0000
committerBrian Paul <[email protected]>2004-02-24 16:11:30 +0000
commit20e25ca50a6335fda3769f746165b5bbc2dfa95b (patch)
treea3fabef9c12b698a0f68783e11864e76da4a5e17 /src/mesa
parent8d407300c2b94f32c955b6dd75c2e18d6d58caa5 (diff)
call _tnl_allow_pixel/vertex_fog() funcs
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r200/r200_context.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c
index 03a3a8ed895..99765341d65 100644
--- a/src/mesa/drivers/dri/r200/r200_context.c
+++ b/src/mesa/drivers/dri/r200/r200_context.c
@@ -383,10 +383,12 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual,
_tnl_isolate_materials( ctx, GL_TRUE );
- /* Configure swrast to match hardware characteristics:
+ /* Configure swrast and 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 );
_math_matrix_ctr( &rmesa->TexGenMatrix[0] );