st/wgl: fix WGL_SWAP_METHOD_ARB query
authorBrian Paul <brianp@vmware.com>
Tue, 16 Jun 2015 21:32:46 +0000 (15:32 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 19 Jun 2015 14:45:00 +0000 (08:45 -0600)
commit4c11008eba9f58621bbbae430f8717176045b0ce
tree0650b79bf8547748314c291dbe418d38efd82630
parent73bdf4ba86751983dff011ac488ac60321d70a7f
st/wgl: fix WGL_SWAP_METHOD_ARB query

There are three possible return values (not two): WGL_SWAP_COPY_ARB,
WGL_SWAP_EXCHANGE_EXT and WGL_SWAP_UNDEFINED_ARB.

VMware bug 1431184

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/state_trackers/wgl/stw_ext_pixelformat.c