Pārlūkot izejas kodu

wgl: Include alpha bits in pixel format's cColorBits field.

tags/mesa_7_6_rc1
José Fonseca pirms 16 gadiem
vecāks
revīzija
6b89c35c9f

+ 1
- 1
src/gallium/state_trackers/wgl/shared/stw_pixelformat.c Parādīt failu

@@ -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;

Notiek ielāde…
Atcelt
Saglabāt