Call _tnl_allow_pixel/vertex_fog in savageCreateContext. (Brian Paul)
authorFelix Kuehling <fxkuehl@gmx.de>
Wed, 25 Feb 2004 20:47:46 +0000 (20:47 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Wed, 25 Feb 2004 20:47:46 +0000 (20:47 +0000)
src/mesa/drivers/dri/savage/savage_xmesa.c

index bc15e0bd302b6c9f1f900d881a2b378fbda6302d..43613b067fd3fbba0c65484f4d0e9edd6c46a248 100644 (file)
@@ -436,6 +436,8 @@ savageCreateContext( const __GLcontextModes *mesaVis,
 
    /* Configure swrast to match hardware characteristics:
     */
+   _tnl_allow_pixel_fog( ctx, GL_FALSE );
+   _tnl_allow_vertex_fog( ctx, GL_TRUE );
    _swrast_allow_pixel_fog( ctx, GL_FALSE );
    _swrast_allow_vertex_fog( ctx, GL_TRUE );