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 <ian.d.romanick@intel.com>
This commit is contained in:
Ian Romanick 2011-11-29 10:57:43 -08:00
parent 6ccda72bf8
commit eacd61bfef

View file

@ -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. */