diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-02-24 16:11:30 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-02-24 16:11:30 +0000 |
commit | 20e25ca50a6335fda3769f746165b5bbc2dfa95b (patch) | |
tree | a3fabef9c12b698a0f68783e11864e76da4a5e17 /src/mesa/drivers/dri | |
parent | 8d407300c2b94f32c955b6dd75c2e18d6d58caa5 (diff) |
call _tnl_allow_pixel/vertex_fog() funcs
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_context.c | 4 |
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 03a3a8ed89..99765341d6 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] ); |