diff options
author | Ian Romanick <[email protected]> | 2009-12-08 21:12:18 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2009-12-10 15:12:30 -0800 |
commit | 4f2b2032f46939b6056f837a086e73f0417183fc (patch) | |
tree | 2291b2a5334ea090b986b3b14c58ab100a241c46 /src/mesa | |
parent | ffc1f299e9eaa6eaa4b5586b9fb13132564bd3ae (diff) |
intel: Use spantmp2 GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV for XRGB8888
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_span.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_span.c b/src/mesa/drivers/dri/intel/intel_span.c index f02fbe9875c..725ba5c97d6 100644 --- a/src/mesa/drivers/dri/intel/intel_span.c +++ b/src/mesa/drivers/dri/intel/intel_span.c @@ -334,7 +334,7 @@ static uint32_t y_tile_swizzle(struct intel_renderbuffer *irb, #include "intel_spantmp.h" /* x8r8g8b8 color span and pixel functions */ -#define INTEL_PIXEL_FMT GL_BGRA +#define INTEL_PIXEL_FMT GL_BGR #define INTEL_PIXEL_TYPE GL_UNSIGNED_INT_8_8_8_8_REV #define INTEL_READ_VALUE(offset) pread_xrgb8888(irb, offset) #define INTEL_WRITE_VALUE(offset, v) pwrite_xrgb8888(irb, offset, v) |