disabled ClipMask usage in vb emitter (clipping bugs?)
authorDaniel Borca <dborca@users.sourceforge.net>
Mon, 13 Dec 2004 08:44:46 +0000 (08:44 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Mon, 13 Dec 2004 08:44:46 +0000 (08:44 +0000)
src/mesa/drivers/glide/fxvbtmp.h

index 8ca46dde8f1000b97b792c137139ac3055f4ea60..04e6c4e972be3a041d748bf31699c55c060d46d7 100644 (file)
@@ -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]);