diff options
author | Eric Anholt <eric@anholt.net> | 2009-03-05 23:32:00 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-03-05 23:43:43 -0800 |
commit | 19e134051c1025bbfe3838108492d705ab2b5b8b (patch) | |
tree | 6bb9e22913d265c907f409ae6e3d7b8eef877d8c /src | |
parent | d0ec7c109c4d78ea0a02b595584da875e62d2773 (diff) |
intel: Fix bpp setting of blits to 8bpp targets.
This was causing hangs in cairogears, as we would blit to the 8bpp target
(A8 texture) as 16bpp, and stomp over state objects.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_blit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_blit.c b/src/mesa/drivers/dri/intel/intel_blit.c index 2d680b292a..4e033082b4 100644 --- a/src/mesa/drivers/dri/intel/intel_blit.c +++ b/src/mesa/drivers/dri/intel/intel_blit.c @@ -332,6 +332,8 @@ intelEmitCopyBlit(struct intel_context *intel, switch (cpp) { case 1: + CMD = XY_SRC_COPY_BLT_CMD; + break; case 2: case 3: BR13 |= (1 << 24); |