Fixed compile error if there is no X11 shared memory support.
authorSam Lantinga <slouken@libsdl.org>
Sat, 07 Dec 2002 06:51:03 +0000
changeset 55608588ee79a67
parent 555 2536446a92de
child 557 0ce5a68278fd
Fixed compile error if there is no X11 shared memory support.
src/video/x11/SDL_x11video.c
     1.1 --- a/src/video/x11/SDL_x11video.c	Sat Dec 07 06:48:49 2002 +0000
     1.2 +++ b/src/video/x11/SDL_x11video.c	Sat Dec 07 06:51:03 2002 +0000
     1.3 @@ -409,9 +409,9 @@
     1.4  	/* use default screen (from $DISPLAY) */
     1.5  	SDL_Screen = DefaultScreen(SDL_Display);
     1.6  
     1.7 -	use_mitshm = 0;
     1.8  #ifndef NO_SHARED_MEMORY
     1.9  	/* Check for MIT shared memory extension */
    1.10 +	use_mitshm = 0;
    1.11  	if ( local_X11 ) {
    1.12  		use_mitshm = XShmQueryExtension(SDL_Display);
    1.13  	}