diff options
author | Eric Anholt <eric@anholt.net> | 2008-06-24 11:44:42 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-06-24 11:44:42 -0700 |
commit | f5eb62a1161f050925c5c0b4839c437b29bdbc6b (patch) | |
tree | 146cb9c4ef12a274045c9748c807174ef1393c22 /src/mesa/drivers/dri/intel/intel_pixel_draw.c | |
parent | f23adc504d8202bbcc78121567a61c0b24819422 (diff) | |
download | external_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/intel/intel_pixel_draw.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_pixel_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_pixel_draw.c b/src/mesa/drivers/dri/intel/intel_pixel_draw.c index 2804c8d..34813d2 100644 --- a/src/mesa/drivers/dri/intel/intel_pixel_draw.c +++ b/src/mesa/drivers/dri/intel/intel_pixel_draw.c @@ -253,7 +253,7 @@ do_blit_drawpixels(GLcontext * ctx, return GL_FALSE; } - if (!intel_check_blit_fragment_ops(ctx)) { + if (!intel_check_blit_fragment_ops(ctx, GL_FALSE)) { if (INTEL_DEBUG & DEBUG_PIXEL) _mesa_printf("%s - bad GL fragment state for blitter\n", __FUNCTION__); |