mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
wgl: Include alpha bits in pixel format's cColorBits field.
This commit is contained in:
parent
c6b3c2f34b
commit
6b89c35c9f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue