Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fix suggested by Bob
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 20, 2009
1 parent ff35339 commit 2669e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11render.c
Expand Up @@ -359,7 +359,7 @@ X11_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)
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);
Expand Down

0 comments on commit 2669e7e

Please sign in to comment.