Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11video.c @ 556:08588ee79a67
Fixed compile error if there is no X11 shared memory support.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 07 Dec 2002 06:51:03 +0000 |
parents | f480ecd70499 |
children | b8d311d90021 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c Sat Dec 07 06:48:49 2002 +0000 +++ b/src/video/x11/SDL_x11video.c Sat Dec 07 06:51:03 2002 +0000 @@ -409,9 +409,9 @@ /* use default screen (from $DISPLAY) */ SDL_Screen = DefaultScreen(SDL_Display); - use_mitshm = 0; #ifndef NO_SHARED_MEMORY /* Check for MIT shared memory extension */ + use_mitshm = 0; if ( local_X11 ) { use_mitshm = XShmQueryExtension(SDL_Display); }