fallback on polygon.stippleflag (thanks Keith)
authorAlan Hourihane <alanh@tungstengraphics.com>
Tue, 11 Jan 2005 15:24:24 +0000 (15:24 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Tue, 11 Jan 2005 15:24:24 +0000 (15:24 +0000)
src/mesa/drivers/dri/unichrome/via_state.c

index 94b3201161885ff2ef391689a64f180738ed8624..f0c8e8868cd26b0e0ed3bf1121fbc64e4db2ba3e 100644 (file)
@@ -786,7 +786,7 @@ static void viaPolygonStipple( GLcontext *ctx, const GLubyte *mask )
 
     /* Fallback for the CLE266 case as it doesn't seem to work */
     if (vmesa->viaScreen->deviceID == VIA_CLE266) {
-       FALLBACK( vmesa, VIA_FALLBACK_STIPPLE, GL_TRUE);
+       FALLBACK( vmesa, VIA_FALLBACK_STIPPLE, ctx->Polygon.StippleFlag);
     } else {
        for (i=0;i<128;i++) 
                    s[i] = mask[i];