On Fri, Dec 09, 2005 at 02:25:15PM +0000, Huw D M Davies wrote:
Looking at libGL, it uses the X_GLXVendorPrivateWithReply request with the vendor code X_GLXvop_GetDrawableAttributesSGIX when the server version is < 1.3 (otherwise it uses the X_GLXGetDrawableAttributes request). Mesa doesn't support this vendor code so the request fails. You probably need to catch this error and take the appropiate action if it fails.
Sorry, this wasn't very clear. I meant to say that this is what libGL does when glXQueryDrawable is called.
Huw.