Blame SOURCES/SDL-1.2.15-no-default-backing-store.patch

e2eb78
Do not harness backing store by default
e2eb78
e2eb78
xorg-server 1.15 enables backing store if composite extension is enabled
e2eb78
(default settings). Harnessing backing store through compositor leads to
e2eb78
tearing effect.
e2eb78
e2eb78
This patch reverts default harnessing backing store to conditional use if
e2eb78
SDL_VIDEO_X11_BACKINGSTORE environment variable exists.
e2eb78
e2eb78
<https://bugzilla.libsdl.org/show_bug.cgi?id=2383>
e2eb78
<https://bugzilla.redhat.com/show_bug.cgi?id=1073057>
e2eb78
e2eb78
diff -up SDL-1.2.15/src/video/x11/SDL_x11video.c.jx SDL-1.2.15/src/video/x11/SDL_x11video.c
e2eb78
--- SDL-1.2.15/src/video/x11/SDL_x11video.c.jx	2012-01-19 01:30:06.000000000 -0500
e2eb78
+++ SDL-1.2.15/src/video/x11/SDL_x11video.c	2014-03-04 14:39:34.691545549 -0500
e2eb78
@@ -1088,7 +1088,7 @@ static int X11_CreateWindow(_THIS, SDL_S
e2eb78
 		}
e2eb78
 	}
e2eb78
 
e2eb78
-#if 0 /* This is an experiment - are the graphics faster now? - nope. */
e2eb78
+#if 1 /* This is an experiment - are the graphics faster now? - nope. */
e2eb78
 	if ( SDL_getenv("SDL_VIDEO_X11_BACKINGSTORE") )
e2eb78
 #endif
e2eb78
 	/* Cache the window in the server, when possible */