call _tnl_allow_pixel/vertex_fog() funcs
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 24 Feb 2004 16:11:30 +0000 (16:11 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 24 Feb 2004 16:11:30 +0000 (16:11 +0000)
src/mesa/drivers/dri/r200/r200_context.c

index 03a3a8ed895de3fbd04fbb4d99bbde6cb57ec729..99765341d65bc4eb70086b8eb351babd799f2593 100644 (file)
@@ -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] );