http://bugs.winehq.org/show_bug.cgi?id=3748
Summary: WGL_COLOR_BITS_ARB handled with improper values Product: Wine Version: 20050930 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-x11driver AssignedTo: wine-bugs@winehq.org ReportedBy: chris.kcat@gmail.com
Looking in dlls/opengl32/wgl_ext.c, it appears WGL_COLOR_BITS_ARB is implemented using GLX_BUFFER_SIZE. Unfortunately, accordind to developer.3dlabs.com:
WGL_COLOR_BITS_ARB - Specifies the number of color bitplanes in each color buffer. For RGBA pixel types, it is the size of the color buffer, *excluding the alpha bitplanes*, For color-index pixels, it is the size of the color index buffer.
GLX_BUFFER_SIZE - Number of bits per color buffer. For RGBA visuals, GLX_BUFFER_SIZE is the sum of GLX_RED_SIZE, GLX_GREEN_SIZE, GLX_BLUE_SIZE, *and GLX_ALPHA_SIZE*. For color index visuals, GLX_BUFFER_SIZE is the size of the color indexes.
This is causing WGL_COLOR_BITS_ARB to handle the alpha value where it shouldn't be.