OSDN Git Service
(root)
/
android-x86
/
external-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
18ac482
..
5ede1d4
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;