From 811602885bb5fa56f04927c29b882675e7ff311c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 25 Sep 2012 12:15:19 -0700 Subject: glx: Replace DRI2SwapInterval custom protocol with XCB. Reviewed-by: Chad Versace --- src/glx/dri2.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/glx/dri2.c') diff --git a/src/glx/dri2.c b/src/glx/dri2.c index 0c49b83dbae..c77ef7b7142 100644 --- a/src/glx/dri2.c +++ b/src/glx/dri2.c @@ -585,23 +585,4 @@ void DRI2SwapBuffers(Display *dpy, XID drawable, CARD64 target_msc, } #endif -#ifdef X_DRI2SwapInterval -void DRI2SwapInterval(Display *dpy, XID drawable, int interval) -{ - XExtDisplayInfo *info = DRI2FindDisplay(dpy); - xDRI2SwapIntervalReq *req; - - XextSimpleCheckExtension (dpy, info, dri2ExtensionName); - - LockDisplay(dpy); - GetReq(DRI2SwapInterval, req); - req->reqType = info->codes->major_opcode; - req->dri2ReqType = X_DRI2SwapInterval; - req->drawable = drawable; - req->interval = interval; - UnlockDisplay(dpy); - SyncHandle(); -} -#endif - #endif /* GLX_DIRECT_RENDERING */ -- cgit v1.2.3