From: Daniel Borca Date: Mon, 13 Dec 2004 08:44:46 +0000 (+0000) Subject: disabled ClipMask usage in vb emitter (clipping bugs?) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c0b1d882612800d7c70cba27dceabd066a22271;p=mesa.git disabled ClipMask usage in vb emitter (clipping bugs?) --- diff --git a/src/mesa/drivers/glide/fxvbtmp.h b/src/mesa/drivers/glide/fxvbtmp.h index 8ca46dde8f1..04e6c4e972b 100644 --- a/src/mesa/drivers/glide/fxvbtmp.h +++ b/src/mesa/drivers/glide/fxvbtmp.h @@ -52,7 +52,7 @@ static void TAG(emit)( GLcontext *ctx, GLuint fog_stride; GrVertex *v = (GrVertex *)dest; GLfloat u0scale,v0scale,u1scale,v1scale; - const GLubyte *mask = VB->ClipMask; + /*const GLubyte *mask = VB->ClipMask;*/ /* XXX dangerous? */ const GLfloat *const s = ctx->Viewport._WindowMap.m; int i; @@ -118,7 +118,7 @@ static void TAG(emit)( GLcontext *ctx, } if (IND & SETUP_XYZW) { - if (mask[i] == 0) { + if (1/*mask[i] == 0*/) { /* unclipped */ VIEWPORT_X(v->x, proj[0][0]); VIEWPORT_Y(v->y, proj[0][1]);