Fix suggested by Bob
authorSam Lantinga <slouken@libsdl.org>
Thu, 20 Aug 2009 04:40:02 +0000
changeset 3239ab5aebd50add
parent 3238 96492d29034a
child 3240 6c4736b446e8
Fix suggested by Bob
src/video/x11/SDL_x11render.c
     1.1 --- a/src/video/x11/SDL_x11render.c	Tue Aug 18 03:26:53 2009 +0000
     1.2 +++ b/src/video/x11/SDL_x11render.c	Thu Aug 20 04:40:02 2009 +0000
     1.3 @@ -359,7 +359,7 @@
     1.4                      shm_error = False;
     1.5                      X_handler = XSetErrorHandler(shm_errhandler);
     1.6                      XShmAttach(renderdata->display, shminfo);
     1.7 -                    XSync(renderdata->display, True);
     1.8 +                    XSync(renderdata->display, False);
     1.9                      XSetErrorHandler(X_handler);
    1.10                      if (shm_error) {
    1.11                          shmdt(shminfo->shmaddr);