mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
intel: Correct FBconfig color masks with DRI2. Fail at copy and paste.
This still leaves us with a broken depth 32 visual, but now it's the server's visual setup that's at fault.
This commit is contained in:
parent
1265e7267e
commit
24ff169486
1 changed files with 2 additions and 2 deletions
|
|
@ -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_RGBA;
|
||||
fb_format[2] = GL_BGRA;
|
||||
fb_type[2] = GL_UNSIGNED_INT_8_8_8_8_REV;
|
||||
|
||||
for (color = 0; color < ARRAY_SIZE(fb_format); color++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue