projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43121f2
)
wgl: Fix visual's buffer_mask configuration.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 2 Dec 2010 20:21:39 +0000
(20:21 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 2 Dec 2010 20:21:39 +0000
(20:21 +0000)
src/gallium/state_trackers/wgl/stw_pixelformat.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/wgl/stw_pixelformat.c
b/src/gallium/state_trackers/wgl/stw_pixelformat.c
index 18ac48236965ad00de6f5cb7f3aea9dda44d2070..5ede1d43220f9a4287f0812c3677686c46bfe2c0 100644
(file)
--- a/
src/gallium/state_trackers/wgl/stw_pixelformat.c
+++ b/
src/gallium/state_trackers/wgl/stw_pixelformat.c
@@
-185,7
+185,7
@@
stw_pixelformat_add(
*/
pfi->stvis.buffer_mask = ST_ATTACHMENT_FRONT_LEFT_MASK;
if (doublebuffer)
- pfi->stvis.buffer_mask = ST_ATTACHMENT_BACK_LEFT_MASK;
+ pfi->stvis.buffer_mask
|
= ST_ATTACHMENT_BACK_LEFT_MASK;
pfi->stvis.color_format = color->format;
pfi->stvis.depth_stencil_format = depth->format;