projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1265e72
)
intel: Correct FBconfig color masks with DRI2. Fail at copy and paste.
author
Eric Anholt
<eric@anholt.net>
Sat, 31 Jan 2009 18:32:34 +0000
(10:32 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 31 Jan 2009 20:04:07 +0000
(12:04 -0800)
This still leaves us with a broken depth 32 visual, but now it's the server's
visual setup that's at fault.
src/mesa/drivers/dri/intel/intel_screen.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_screen.c
b/src/mesa/drivers/dri/intel/intel_screen.c
index aad53fb72d1f3faa7617bbb835d6d5c01f0bb858..e17f18a98f27d323e9e927a3033fc10e5618ac2e 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_screen.c
+++ b/
src/mesa/drivers/dri/intel/intel_screen.c
@@
-733,10
+733,10
@@
__DRIconfig **intelInitScreen2(__DRIscreenPrivate *psp)
fb_format[0] = GL_RGB;
fb_type[0] = GL_UNSIGNED_SHORT_5_6_5;
- fb_format[1] = GL_
RGB
;
+ fb_format[1] = GL_
BGR
;
fb_type[1] = GL_UNSIGNED_INT_8_8_8_8_REV;
- fb_format[2] = GL_
RGB
A;
+ fb_format[2] = GL_
BGR
A;
fb_type[2] = GL_UNSIGNED_INT_8_8_8_8_REV;
for (color = 0; color < ARRAY_SIZE(fb_format); color++) {