mirror of https://github.com/odrling/Aegisub
Merge branch 'workarounds' into feature
This commit is contained in:
commit
eca52e4166
|
@ -1,4 +1,4 @@
|
||||||
diff --git a/include/dav1d/dav1d.h b/include/dav1d/dav1d.h
|
diff --git a/include/dav1d/dav1d.h b/include/dav1d/dav1d.h
|
||||||
index e8f0705..ff48ea0 100644
|
index e8f0705..ff48ea0 100644
|
||||||
--- a/include/dav1d/dav1d.h
|
--- a/include/dav1d/dav1d.h
|
||||||
+++ b/include/dav1d/dav1d.h
|
+++ b/include/dav1d/dav1d.h
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
diff --git a/include/wx/dcbuffer.h b/include/wx/dcbuffer.h
|
||||||
|
index b47045bca1..435a501546 100644
|
||||||
|
--- a/include/wx/dcbuffer.h
|
||||||
|
+++ b/include/wx/dcbuffer.h
|
||||||
|
@@ -15,8 +15,13 @@
|
||||||
|
#include "wx/dcclient.h"
|
||||||
|
#include "wx/window.h"
|
||||||
|
|
||||||
|
-// All current ports use double buffering.
|
||||||
|
-#define wxALWAYS_NATIVE_DOUBLE_BUFFER 1
|
||||||
|
+// Split platforms into two groups - those which have well-working
|
||||||
|
+// double-buffering by default, and those which do not.
|
||||||
|
+#if defined(__WXMAC__) || defined(__WXGTK20__) || defined(__WXDFB__) || defined(__WXQT__)
|
||||||
|
+ #define wxALWAYS_NATIVE_DOUBLE_BUFFER 1
|
||||||
|
+#else
|
||||||
|
+ #define wxALWAYS_NATIVE_DOUBLE_BUFFER 0
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
|
@ -4,3 +4,4 @@ url = https://github.com/wxWidgets/wxWidgets.git
|
||||||
revision = master
|
revision = master
|
||||||
clone-recursive = true
|
clone-recursive = true
|
||||||
depth = 1
|
depth = 1
|
||||||
|
diff_files = wxWidgets-master/0001.patch
|
||||||
|
|
Loading…
Reference in New Issue