diff options
author | Andrew Sun | 2018-07-30 14:50:33 -0400 |
---|---|---|
committer | Andrew Sun | 2018-07-30 14:50:33 -0400 |
commit | 581c3644ce39b3a03f267cb930d6bc177a3b59c6 (patch) | |
tree | c23b23d3deb703c02c40e453dcce8821ba69df1c /SDL-1.2.15-no-default-backing-store.patch | |
parent | e7bfdf687bf1ed80aa72270c949aa5bf9fc4aea5 (diff) | |
download | aur-mingw-w64-sdl.tar.gz |
mingw-w64-sdl: update url and add patches from regular sdl
Diffstat (limited to 'SDL-1.2.15-no-default-backing-store.patch')
-rw-r--r-- | SDL-1.2.15-no-default-backing-store.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/SDL-1.2.15-no-default-backing-store.patch b/SDL-1.2.15-no-default-backing-store.patch new file mode 100644 index 000000000000..4d5209d1e187 --- /dev/null +++ b/SDL-1.2.15-no-default-backing-store.patch @@ -0,0 +1,24 @@ +Do not harness backing store by default + +xorg-server 1.15 enables backing store if composite extension is enabled +(default settings). Harnessing backing store through compositor leads to +tearing effect. + +This patch reverts default harnessing backing store to conditional use if +SDL_VIDEO_X11_BACKINGSTORE environment variable exists. + +<https://bugzilla.libsdl.org/show_bug.cgi?id=2383> +<https://bugzilla.redhat.com/show_bug.cgi?id=1073057> + +diff -up SDL-1.2.15/src/video/x11/SDL_x11video.c.jx SDL-1.2.15/src/video/x11/SDL_x11video.c +--- SDL-1.2.15/src/video/x11/SDL_x11video.c.jx 2012-01-19 01:30:06.000000000 -0500 ++++ SDL-1.2.15/src/video/x11/SDL_x11video.c 2014-03-04 14:39:34.691545549 -0500 +@@ -1088,7 +1088,7 @@ static int X11_CreateWindow(_THIS, SDL_S + } + } + +-#if 0 /* This is an experiment - are the graphics faster now? - nope. */ ++#if 1 /* 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 */ |