diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2011-11-29 10:57:43 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2012-01-02 12:41:44 -0800 |
commit | eacd61bfefc416166998b2344540dab1e4e77beb (patch) | |
tree | 82e82430b9041f5a4ce61e11ef0f5368a0df9a2b /src/glx/glxext.c | |
parent | 6ccda72bf87a27844f8b9807fc080984f48af1cf (diff) |
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>
Diffstat (limited to 'src/glx/glxext.c')
-rw-r--r-- | src/glx/glxext.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/glxext.c b/src/glx/glxext.c index baa2489fd19..12fff22399d 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. */ |