diff options
author | José Fonseca <[email protected]> | 2010-12-02 20:21:39 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-12-02 20:21:39 +0000 |
commit | 63df5a464e984af771b3896d05baa258912ac202 (patch) | |
tree | f7757734416a53d327d523f07c95df74fc258f86 | |
parent | 43121f20866bb89e8dac92bd92ec85a943704b7e (diff) |
wgl: Fix visual's buffer_mask configuration.
-rw-r--r-- | src/gallium/state_trackers/wgl/stw_pixelformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_pixelformat.c b/src/gallium/state_trackers/wgl/stw_pixelformat.c index 18ac4823696..5ede1d43220 100644 --- 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; |