summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c')
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c b/src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c
index a4f78cb293..140bb43caa 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c
+++ b/src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c
@@ -185,11 +185,11 @@ stw_query_attrib(
break;
case WGL_ALPHA_BITS_ARB:
- *pvalue = (int) pf->alpha.alphabits;
+ *pvalue = (int) pf->color.alphabits;
break;
case WGL_ALPHA_SHIFT_ARB:
- *pvalue = (int) pf->alpha.alphashift;
+ *pvalue = (int) pf->color.alphashift;
break;
case WGL_ACCUM_BITS_ARB: