Fix up alpha buffer handling for Windows.
authorKarl Schultz <kschultz@freedesktop.org>
Tue, 23 Apr 2002 18:23:32 +0000 (18:23 +0000)
committerKarl Schultz <kschultz@freedesktop.org>
Tue, 23 Apr 2002 18:23:32 +0000 (18:23 +0000)
commite694a8765a2406838354e39d5c40dab5fbb744e9
tree72bd71093ffb3255b9a2581056a324bbebca18aa
parent62c36a2ff39d775c1f1bc377b9ddbc69e2340799
Fix up alpha buffer handling for Windows.
- add two new Pixel Format Descriptors that do not have alpha bits to
mirror the two that do.
- add logic to wglChoosePixelFormat to match PFD's with respect to alpha.
- Create/clear software alpha buffer as required.
Now a wgl or GLUT program can control the creation of a software alpha
buffer via the PFD or GLUT parms, respectively.
include/GL/wmesa.h
src/mesa/drivers/windows/wgl.c
src/mesa/drivers/windows/wmesa.c