Mercurial > sdl-ios-xcode
changeset 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 | 2536446a92de |
children | 0ce5a68278fd |
files | src/video/x11/SDL_x11video.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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); }