Mesa (master): intel: pixelzoom doesn't apply to glBitmap, so disable the fallback.
Eric Anholt
anholt at kemper.freedesktop.org
Fri Oct 31 23:04:58 UTC 2008
Module: Mesa
Branch: master
Commit: 69e10084cd3ac9b814b311913138882a32f9f2ea
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=69e10084cd3ac9b814b311913138882a32f9f2ea
Author: Eric Anholt <eric at anholt.net>
Date: Fri Oct 31 13:37:42 2008 -0700
intel: pixelzoom doesn't apply to glBitmap, so disable the fallback.
---
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c b/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
index 8963519..0565197 100644
--- a/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
+++ b/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
@@ -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);
More information about the mesa-commit
mailing list