summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-12-13 08:44:46 +0000
committerDaniel Borca <[email protected]>2004-12-13 08:44:46 +0000
commit8c0b1d882612800d7c70cba27dceabd066a22271 (patch)
tree2cc76fb3320982eedfbea0852f0b3ed9e3ca387c /src
parent8402149766f4feb3f894d5d32c1e09d8897a1ae0 (diff)
disabled ClipMask usage in vb emitter (clipping bugs?)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/glide/fxvbtmp.h4
1 files changed, 2 insertions, 2 deletions
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]);