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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user