[Mesa-dev] [Bug 29841] New: glx.h has incorrect values for "Tokens for glXChooseVisual and glXGetConfig"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 27 08:44:11 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29841

           Summary: glx.h has incorrect values for "Tokens for
                    glXChooseVisual and glXGetConfig"
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: GLX
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: junk at ysengrin.com


the following from the latest glx.h are obviously all wrong
and should provide the real size of the gl system
for instance GLX_RED_SIZE and GLX_GREEN_SIZE and GLX_BLUE_SIZE
should all be 8 and GLX_BUFFER_SIZE should be the sum of these 3 values.

/*
 * Tokens for glXChooseVisual and glXGetConfig:
 */
#define GLX_USE_GL        1
#define GLX_BUFFER_SIZE        2
#define GLX_LEVEL        3
#define GLX_RGBA        4
#define GLX_DOUBLEBUFFER    5
#define GLX_STEREO        6
#define GLX_AUX_BUFFERS        7
#define GLX_RED_SIZE        8
#define GLX_GREEN_SIZE        9
#define GLX_BLUE_SIZE        10
#define GLX_ALPHA_SIZE        11
#define GLX_DEPTH_SIZE        12
#define GLX_STENCIL_SIZE    13
#define GLX_ACCUM_RED_SIZE    14
#define GLX_ACCUM_GREEN_SIZE    15
#define GLX_ACCUM_BLUE_SIZE    16
#define GLX_ACCUM_ALPHA_SIZE    17

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list