[Bug 3748] New: WGL_COLOR_BITS_ARB handled with improper values

Wine Bugs wine-bugs at winehq.org
Thu Nov 3 04:26:31 CST 2005


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 at winehq.org
        ReportedBy: chris.kcat at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list