diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-04-10 10:14:13 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-04-10 13:26:35 +0100 |
commit | 3f2420e2e07b7ae0d2feec81178f998a1e46d631 (patch) | |
tree | 1533b7fc8fd8f761fde9bd1cb02b8cbb79c32f1c /src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c | |
parent | 2921a4903378e2bfc461322a5443cc013e7414c9 (diff) |
wgl: Combine alpha pixelformat info in color.
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c')
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c | 4 |
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: |