projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d06045d
)
st/wgl: allow WGL_BIND_TO_TEXTURE_RGB_ARB for RGBA visuals
author
Charmaine Lee
<charmainel@vmware.com>
Wed, 18 May 2016 17:11:25 +0000
(10:11 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 29 Apr 2017 04:01:24 +0000
(22:01 -0600)
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
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/wgl/stw_pixelformat.c
b/src/gallium/state_trackers/wgl/stw_pixelformat.c
index 8407b9e1ae4e1f5fae368af09ad01c5225e8a578..011a86ac5a3739f129c67bc1e2dce0779633f934 100644
(file)
--- a/
src/gallium/state_trackers/wgl/stw_pixelformat.c
+++ b/
src/gallium/state_trackers/wgl/stw_pixelformat.c
@@
-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;