mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 17:50:11 +01:00
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>
This commit is contained in:
parent
d06045dfdd
commit
ba8e2ea19a
1 changed files with 2 additions and 2 deletions
|
|
@ -208,8 +208,8 @@ stw_pixelformat_add(
|
|||
/* WGL_ARB_render_texture */
|
||||
if (color->bits.alpha)
|
||||
pfi->bindToTextureRGBA = TRUE;
|
||||
else
|
||||
pfi->bindToTextureRGB = TRUE;
|
||||
|
||||
pfi->bindToTextureRGB = TRUE;
|
||||
|
||||
++stw_dev->pixelformat_extended_count;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue