summarylogtreecommitdiffstats
path: root/backingstore_on_demand.diff
diff options
context:
space:
mode:
authorAntonio Orefice2015-06-09 08:37:09 +0200
committerAntonio Orefice2015-06-09 08:37:09 +0200
commit5ab1604b30251761801e35f086086019add0ab5a (patch)
treea9dbb884ea32a495799c4273623a8f1984c3aa15 /backingstore_on_demand.diff
downloadaur-lib32-sdl-nobackingstore.tar.gz
Initial import
Diffstat (limited to 'backingstore_on_demand.diff')
-rw-r--r--backingstore_on_demand.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/backingstore_on_demand.diff b/backingstore_on_demand.diff
new file mode 100644
index 000000000000..dc3066fc31fc
--- /dev/null
+++ b/backingstore_on_demand.diff
@@ -0,0 +1,16 @@
+--- a/src/video/x11/SDL_x11video.c 2014-02-03 09:19:06.152761230 +0100
++++ b/src/video/x11/SDL_x11video.c 2014-02-03 09:14:40.062762569 +0100
+@@ -1088,11 +1088,10 @@
+ }
+ }
+
+-#if 0 /* This is an experiment - are the graphics faster now? - nope. */
+ if ( SDL_getenv("SDL_VIDEO_X11_BACKINGSTORE") )
+-#endif
+- /* Cache the window in the server, when possible */
++ /* Cache the window in the server, on request */
+ {
++ printf("Backingstore is on.\n");
+ Screen *xscreen;
+ XSetWindowAttributes a;
+