st/wgl: allow WGL_BIND_TO_TEXTURE_RGB_ARB for RGBA visuals
authorCharmaine Lee <charmainel@vmware.com>
Wed, 18 May 2016 17:11:25 +0000 (10:11 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 29 Apr 2017 04:01:24 +0000 (22:01 -0600)
commitba8e2ea19a0ac97bced2cfae15668443b2b3fb07
tree1d54e1dd938c52372c55f3fdcd8d64ae1f1be528
parentd06045dfdd7c93fad4808f98a27ccf15112a10bb
st/wgl: allow WGL_BIND_TO_TEXTURE_RGB_ARB for RGBA visuals

We do not need to restrict WGL_BIND_TO_TEXTURE_RGB_ARB to
RGB visuals only. It can be supported with RGBA visuals as well.

This fixes the early exit of cinebench-r15-test trace.

Tested with cinebench-r15, piglit, glretrace.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/wgl/stw_pixelformat.c