diff options
author | Jeremy Kolb <[email protected]> | 2006-09-26 23:56:20 +0000 |
---|---|---|
committer | Jeremy Kolb <[email protected]> | 2006-09-26 23:56:20 +0000 |
commit | 07bacc226379dba36b245672af6d680a7d18e58f (patch) | |
tree | 979a1f6c55e07a5cd4d0f4ed9ae4445977be880b /src/glx/x11/glxext.c | |
parent | 3d7ee324adca4f4c20a793d5d01921c6e757b681 (diff) |
Update to use the new XCB naming convention.
Diffstat (limited to 'src/glx/x11/glxext.c')
-rw-r--r-- | src/glx/x11/glxext.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index 5b756c26aff..d4edf6d85d9 100644 --- a/src/glx/x11/glxext.c +++ b/src/glx/x11/glxext.c @@ -65,8 +65,8 @@ #ifdef USE_XCB #include <X11/xcl.h> -#include <X11/XCB/xcb.h> -#include <X11/XCB/glx.h> +#include <xcb/xcb.h> +#include <xcb/glx.h> #endif #include <assert.h> @@ -1284,7 +1284,7 @@ GLubyte *__glXFlushRenderBuffer(__GLXcontext *ctx, GLubyte *pc) { Display * const dpy = ctx->currentDpy; #ifdef USE_XCB - XCBConnection *c = XCBConnectionOfDisplay(dpy); + xcb_connection_t *c = XGetXCBConnection(dpy); #else xGLXRenderReq *req; #endif /* USE_XCB */ @@ -1292,7 +1292,7 @@ GLubyte *__glXFlushRenderBuffer(__GLXcontext *ctx, GLubyte *pc) if ( (dpy != NULL) && (size > 0) ) { #ifdef USE_XCB - XCBGlxRender(c, ctx->currentContextTag, size, (char *)ctx->buf); + xcb_glx_render(c, ctx->currentContextTag, size, (char *)ctx->buf); #else /* Send the entire buffer as an X request */ LockDisplay(dpy); @@ -1335,8 +1335,8 @@ void __glXSendLargeChunk(__GLXcontext *gc, GLint requestNumber, { Display *dpy = gc->currentDpy; #ifdef USE_XCB - XCBConnection *c = XCBConnectionOfDisplay(dpy); - XCBGlxRenderLarge(c, gc->currentContextTag, requestNumber, totalRequests, dataLen, data); + xcb_connection_t *c = XGetXCBConnection(dpy); + xcb_glx_render_large(c, gc->currentContextTag, requestNumber, totalRequests, dataLen, data); #else xGLXRenderLargeReq *req; |