summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2005-02-03 19:51:57 +0000
committerAapo Tahkola <aet@rasterburn.org>2005-02-03 19:51:57 +0000
commit9ea600ff3ffcddbb1431e478ae24517672d32423 (patch)
tree1eef3c690292134760bbf889c4f8fcc5b0476c02 /src
parentfe58074deac37d2a3601164857275d8ffd9babeb (diff)
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...
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/r300_render.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c
index 9778557781..1a66215fa2 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