From 04bcaac383cb6d3d5bceb7ecf65ff97c10aa7111 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 26 Feb 2004 00:28:03 +0000 Subject: added _tnl_allow_vertex/pixel_fog() calls --- src/mesa/drivers/dri/i830/i830_context.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i830') diff --git a/src/mesa/drivers/dri/i830/i830_context.c b/src/mesa/drivers/dri/i830/i830_context.c index 0d6b2b7464..a692203ce2 100644 --- a/src/mesa/drivers/dri/i830/i830_context.c +++ b/src/mesa/drivers/dri/i830/i830_context.c @@ -318,9 +318,11 @@ GLboolean i830CreateContext( const __GLcontextModes *mesaVis, _tnl_destroy_pipeline( ctx ); _tnl_install_pipeline( ctx, i830_pipeline ); - /* Configure swrast to match hardware characteristics: */ + /* Configure swrast and T&L 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 ); /* Dri stuff */ imesa->hHWContext = driContextPriv->hHWContext; -- cgit v1.2.3