From: Aapo Tahkola Date: Thu, 3 Feb 2005 19:51:57 +0000 (+0000) Subject: Removing some trash and disabling fog fallback as it seem its causing more harm than... X-Git-Tag: mesa-7.8~9729 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ea600ff3ffcddbb1431e478ae24517672d32423;p=platform%2Fupstream%2Fmesa.git Removing some trash and disabling fog fallback as it seem its causing more harm than good. Tuxracer should now work at least with vbs. Fix for vb colorbuffer clear bug is underway... --- diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c index 9778557..1a66215 100644 --- a/src/mesa/drivers/dri/r300/r300_render.c +++ b/src/mesa/drivers/dri/r300/r300_render.c @@ -634,12 +634,6 @@ static void r300_check_render(GLcontext *ctx, struct tnl_pipeline_stage *stage) return; } -#if 0 // selecting VERT_BIT_NORMAL still doesnt give us normals but why? - stage->inputs |= VERT_BIT_POS; - stage->inputs |= VERT_BIT_NORMAL; - stage->inputs |= VERT_BIT_COLOR0; -#endif - // I failed to figure out how dither works in hardware, // let's just ignore it for now //FALLBACK_IF(ctx->Color.DitherFlag); @@ -649,7 +643,7 @@ static void r300_check_render(GLcontext *ctx, struct tnl_pipeline_stage *stage) FALLBACK_IF(ctx->Color.AlphaEnabled); // GL_ALPHA_TEST FALLBACK_IF(ctx->Color.BlendEnabled); // GL_BLEND #endif - FALLBACK_IF(ctx->Fog.Enabled); // GL_FOG + //FALLBACK_IF(ctx->Fog.Enabled); // GL_FOG disable as swtcl doesnt seem to support this FALLBACK_IF(ctx->Line.SmoothFlag); // GL_LINE_SMOOTH FALLBACK_IF(ctx->Line.StippleFlag); // GL_LINE_STIPPLE FALLBACK_IF(ctx->Point.SmoothFlag); // GL_POINT_SMOOTH