http://bugs.freedesktop.org/show_bug.cgi?id=24321

           Summary: glXQueryExtension doesn't set eventBase and errorBase
           Product: Mesa
           Version: 7.5
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: GLX
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: tsyva...@ispras.ru


The description of glXQueryExtension states:

error base is used to return the value of the first error code and
event base is used to return the value of the first event code. The constant
error codes and event codes should be added to these base values to get the
actual value.

But this function doesn't set error base and event base value, though function
returns True (GLX extension is supported by the display).

After executing this code:

Display* display = XOpenDisplay(NULL);
int errorBase = -10, eventBase = -10;
glXQueryExtension(display, &eventBase, &errorBase);

errorBase and eventBase remains -10.

Mesa 6.2 implements this function correctly.


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

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to