Mercurial > sdl-ios-xcode
diff src/video/Xext/Xxf86dga/XF86DGA.c @ 1575:3ba88cb7eb1b
Updated dynamic X11 code. See details in Bugzilla #170.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 22 Mar 2006 05:00:59 +0000 |
parents | 6fd39b50dd91 |
children | ecba4bbaf9c2 |
line wrap: on
line diff
--- a/src/video/Xext/Xxf86dga/XF86DGA.c Wed Mar 22 04:51:44 2006 +0000 +++ b/src/video/Xext/Xxf86dga/XF86DGA.c Wed Mar 22 05:00:59 2006 +0000 @@ -114,7 +114,7 @@ req->reqType = info->codes->major_opcode; req->dgaReqType = X_XF86DGAGetVideoLL; req->screen = screen; - if (!p_XReply(dpy, (xReply *)&rep, 0, xFalse)) { + if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) { UnlockDisplay(dpy); SyncHandle(); return False; @@ -149,7 +149,7 @@ req->enable = enable; UnlockDisplay(dpy); SyncHandle(); - pXSync(dpy,False); + XSync(dpy,False); return True; } @@ -170,7 +170,7 @@ req->reqType = info->codes->major_opcode; req->dgaReqType = X_XF86DGAGetViewPortSize; req->screen = screen; - if (!p_XReply(dpy, (xReply *)&rep, 0, xFalse)) { + if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) { UnlockDisplay(dpy); SyncHandle(); return False; @@ -205,7 +205,7 @@ req->y = y; UnlockDisplay(dpy); SyncHandle(); - pXSync(dpy,False); + XSync(dpy,False); return True; } @@ -226,7 +226,7 @@ req->reqType = info->codes->major_opcode; req->dgaReqType = X_XF86DGAGetVidPage; req->screen = screen; - if (!p_XReply(dpy, (xReply *)&rep, 0, xFalse)) { + if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) { UnlockDisplay(dpy); SyncHandle(); return False; @@ -257,7 +257,7 @@ req->vpage = vpage; UnlockDisplay(dpy); SyncHandle(); - pXSync(dpy,False); + XSync(dpy,False); return True; } @@ -279,7 +279,7 @@ req->id = cmap; UnlockDisplay(dpy); SyncHandle(); - pXSync(dpy,False); + XSync(dpy,False); return True; } @@ -299,7 +299,7 @@ req->reqType = info->codes->major_opcode; req->dgaReqType = X_XF86DGAQueryDirectVideo; req->screen = screen; - if (!p_XReply(dpy, (xReply *)&rep, 0, xFalse)) { + if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) { UnlockDisplay(dpy); SyncHandle(); return False; @@ -327,7 +327,7 @@ req->dgaReqType = X_XF86DGAViewPortChanged; req->screen = screen; req->n = n; - if (!p_XReply(dpy, (xReply *)&rep, 0, xFalse)) { + if (!_XReply(dpy, (xReply *)&rep, 0, xFalse)) { UnlockDisplay(dpy); SyncHandle(); return False; @@ -600,7 +600,7 @@ for (i = 0; i < numScrs; i++) { sp = scrList[i]; SDL_NAME(XF86DGADirectVideoLL)(sp->display, sp->screen, 0); - pXSync(sp->display, False); + XSync(sp->display, False); } if (WIFEXITED(status)) _exit(0); @@ -660,7 +660,7 @@ for (i = 0; i < numScrs; i++) { sp = scrList[i]; SDL_NAME(XF86DGADirectVideo)(sp->display, sp->screen, 0); - pXSync(sp->display, False); + XSync(sp->display, False); } _exit(3); }