intel: pixelzoom doesn't apply to glBitmap, so disable the fallback.
authorEric Anholt <eric@anholt.net>
Fri, 31 Oct 2008 20:37:42 +0000 (13:37 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 31 Oct 2008 23:04:50 +0000 (16:04 -0700)
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c

index 896351989318510fff53f64ce260d8dbb40dc0b2..0565197ea0806a49895fd1c221330dd29334b42a 100644 (file)
@@ -191,11 +191,7 @@ do_blit_bitmap( GLcontext *ctx,
    color8888 = INTEL_PACKCOLOR8888(ubcolor[0], ubcolor[1], ubcolor[2], ubcolor[3]);
    color565 = INTEL_PACKCOLOR565(ubcolor[0], ubcolor[1], ubcolor[2]);
 
-   /* Does zoom apply to bitmaps?
-    */
-   if (!intel_check_blit_fragment_ops(ctx, tmpColor[3] == 1.0F) ||
-       ctx->Pixel.ZoomX != 1.0F || 
-       ctx->Pixel.ZoomY != 1.0F)
+   if (!intel_check_blit_fragment_ops(ctx, tmpColor[3] == 1.0F))
       return GL_FALSE;
 
    LOCK_HARDWARE(intel);