diff options
| author | José Fonseca <jfonseca@vmware.com> | 2009-04-30 12:24:08 +0100 | 
|---|---|---|
| committer | Keith Whitwell <keithw@vmware.com> | 2009-05-05 13:14:47 +0100 | 
| commit | 6b89c35c9f6557a160c8fc0c97a110d3afe4c82f (patch) | |
| tree | 7dcf8d148e70ef392988d598d128befe9f445bca /src | |
| parent | c6b3c2f34b5fdc30e679068d4e6130ba30efc1e4 (diff) | |
wgl: Include alpha bits in pixel format's cColorBits field.
Diffstat (limited to 'src')
| -rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_pixelformat.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c index 9e642cbdd4..8d6955f390 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c +++ b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c @@ -158,7 +158,7 @@ stw_pixelformat_add(     pfi->pfd.iPixelType = PFD_TYPE_RGBA; -   pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue; +   pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha;     pfi->pfd.cRedBits = color->bits.red;     pfi->pfd.cRedShift = color->shift.red;     pfi->pfd.cGreenBits = color->bits.green; | 
