summaryrefslogtreecommitdiff
path: root/common.py
diff options
context:
space:
mode:
authorOlivier Lauffenburger <o.lauffenburger@topsolid.com>2017-07-06 09:08:00 -0600
committerAndres Gomez <agomez@igalia.com>2017-07-12 19:32:09 +0300
commit82aff6ad188db4703e55593e136e45824f7e9ad9 (patch)
tree7641c00991ec62b375c4fbbaaf228396cfb0a7d0 /common.py
parent729b999e351283b398e17d042dc1ef91ed4155cb (diff)
st/wgl: improve selection of pixel format
Current selection of pixel format does not enforce the request of stencil or depth buffer if the color depth is not the same as requested. For instance, GLUT requests a 32-bit color buffer with an 8-bit stencil buffer, but because color buffers are only 24-bit, no priority is given to creating a stencil buffer. This patch gives more priority to the creation of requested buffers and less priority to the difference in bit depth. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101703 Signed-off-by: Olivier Lauffenburger <o.lauffenburger@topsolid.com> Tested-by: Brian Paul <brianp@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 80c6598cdba36edb43d618f97175103e560d61a1)
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions