Mesa (mesa_7_7_branch): intel: Use spantmp2 GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV for XRGB8888

Ian Romanick idr at kemper.freedesktop.org
Thu Dec 10 15:17:20 PST 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: 4f2b2032f46939b6056f837a086e73f0417183fc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f2b2032f46939b6056f837a086e73f0417183fc

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Dec  8 21:12:18 2009 -0800

intel: Use spantmp2 GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV for XRGB8888

---

 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 f02fbe9..725ba5c 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)



More information about the mesa-commit mailing list