mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 22:40:09 +01:00
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:
parent
6ccda72bf8
commit
eacd61bfef
1 changed files with 4 additions and 0 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue