From: Brian Paul Date: Tue, 24 Feb 2004 16:11:30 +0000 (+0000) Subject: call _tnl_allow_pixel/vertex_fog() funcs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20e25ca50a6335fda3769f746165b5bbc2dfa95b;p=mesa.git call _tnl_allow_pixel/vertex_fog() funcs --- 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] );