summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/wgl/stw_pixelformat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_pixelformat.c b/src/gallium/state_trackers/wgl/stw_pixelformat.c
index 8407b9e1ae4..011a86ac5a3 100644
--- 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;