summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_pixel_copy.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-06-24 11:44:42 -0700
committerEric Anholt <eric@anholt.net>2008-06-24 11:44:42 -0700
commitf5eb62a1161f050925c5c0b4839c437b29bdbc6b (patch)
tree146cb9c4ef12a274045c9748c807174ef1393c22 /src/mesa/drivers/dri/i965/intel_pixel_copy.c
parentf23adc504d8202bbcc78121567a61c0b24819422 (diff)
downloadexternal_mesa3d-f5eb62a1161f050925c5c0b4839c437b29bdbc6b.zip
external_mesa3d-f5eb62a1161f050925c5c0b4839c437b29bdbc6b.tar.gz
external_mesa3d-f5eb62a1161f050925c5c0b4839c437b29bdbc6b.tar.bz2
intel: Avoid glBitmap software fallback for blending when no blending occurs.
Mesa demos tend to leave blending on but in GL_ONE/GL_ZERO, or GL_SRC_ALPHA/GL_ONE_MINUS_SRC_ALPHA with a source alpha of 1.0.
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_pixel_copy.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_pixel_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_pixel_copy.c b/src/mesa/drivers/dri/i965/intel_pixel_copy.c
index 5725dff..dba4bb1 100644
--- a/src/mesa/drivers/dri/i965/intel_pixel_copy.c
+++ b/src/mesa/drivers/dri/i965/intel_pixel_copy.c
@@ -188,7 +188,7 @@ do_blit_copypixels(GLcontext * ctx,
/* Copypixels can be more than a straight copy. Ensure all the
* extra operations are disabled:
*/
- if (!intel_check_blit_fragment_ops(ctx) ||
+ if (!intel_check_blit_fragment_ops(ctx, GL_FALSE) ||
ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F)
return GL_FALSE;