diff src/video/x11/SDL_x11render.c @ 3239:ab5aebd50add

Fix suggested by Bob
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Aug 2009 04:40:02 +0000
parents 8cbf68bdf81b
children 83518f8fcd61
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);