src/video/x11/SDL_x11video.c
changeset 556 08588ee79a67
parent 499 f480ecd70499
child 769 b8d311d90021
--- 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);
 	}