summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/FX/fxpipeline.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/FX/fxpipeline.c')
-rw-r--r--xc/extras/Mesa/src/FX/fxpipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xc/extras/Mesa/src/FX/fxpipeline.c b/xc/extras/Mesa/src/FX/fxpipeline.c
index c77e21ffa..cf4c9ebbc 100644
--- a/xc/extras/Mesa/src/FX/fxpipeline.c
+++ b/xc/extras/Mesa/src/FX/fxpipeline.c
@@ -104,7 +104,7 @@ static void fxDDRenderVB( struct vertex_buffer *VB )
GLcontext *ctx = VB->ctx;
fxMesaContext fxMesa = (fxMesaContext)ctx->DriverCtx;
- if ((fxMesa->render_index & ~FX_FLAT) ||
+ if ((fxMesa->render_index != 0) ||
((ctx->Texture.ReallyEnabled & 0xf) && VB->TexCoordPtr[0]->size>2) ||
((ctx->Texture.ReallyEnabled & 0xf0) && VB->TexCoordPtr[1]->size>2))
gl_render_vb( VB );