From: Ian Romanick Date: Tue, 29 Nov 2011 18:57:43 +0000 (-0800) Subject: glx: Use __glX_send_client_info with XCB X-Git-Tag: 062012170305~2484 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eacd61bfefc416166998b2344540dab1e4e77beb;p=profile%2Fivi%2Fmesa.git glx: Use __glX_send_client_info with XCB __glX_send_client_info only supports XCB, so use that instead of __glXClientInfo when USE_XCB is defined. Signed-off-by: Ian Romanick --- diff --git a/src/glx/glxext.c b/src/glx/glxext.c index baa2489..12fff22 100644 --- a/src/glx/glxext.c +++ b/src/glx/glxext.c @@ -887,7 +887,11 @@ __glXInitialize(Display * dpy) return NULL; } +#ifdef USE_XCB + __glX_send_client_info(dpyPriv); +#else __glXClientInfo(dpy, dpyPriv->majorOpcode); +#endif /* Grab the lock again and add the dispay private, unless somebody * beat us to initializing on this display in the meantime. */