changeset 3239:ab5aebd50add

Fix suggested by Bob
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Aug 2009 04:40:02 +0000
parents 96492d29034a
children 6c4736b446e8
files src/video/x11/SDL_x11render.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/x11/SDL_x11render.c	Tue Aug 18 03:26:53 2009 +0000
+++ b/src/video/x11/SDL_x11render.c	Thu Aug 20 04:40:02 2009 +0000
@@ -359,7 +359,7 @@
                     shm_error = False;
                     X_handler = XSetErrorHandler(shm_errhandler);
                     XShmAttach(renderdata->display, shminfo);
-                    XSync(renderdata->display, True);
+                    XSync(renderdata->display, False);
                     XSetErrorHandler(X_handler);
                     if (shm_error) {
                         shmdt(shminfo->shmaddr);