all repos — mgba @ f97e697a22af0ca27481b0c52aac8ff7e32c8637

mGBA Game Boy Advance Emulator

Qt: Reenable double buffering, as disabling it broke some Windows configs
Jeffrey Pfau jeffrey@endrift.com
Wed, 19 Aug 2015 23:52:59 -0700
commit

f97e697a22af0ca27481b0c52aac8ff7e32c8637

parent

bc042abf2274db79493e46e1736fdb96a42d0e87

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -3,6 +3,7 @@ Bugfixes:

- Qt: Windows no longer spawn in the top left on first launch - Qt: Fix install path of XDG desktop file with DESTDIR - Qt: Fix drag and drop on Windows + - Qt: Reenable double buffering, as disabling it broke some Windows configs Misc: - Qt: Remove useless help icons in dialogs
M src/platform/qt/Display.cppsrc/platform/qt/Display.cpp

@@ -22,7 +22,7 @@ #endif

Display* Display::create(QWidget* parent) { #ifdef BUILD_GL - QGLFormat format(QGLFormat(QGL::Rgba | QGL::SingleBuffer)); + QGLFormat format(QGLFormat(QGL::Rgba | QGL::DoubleBuffer)); format.setSwapInterval(1); #endif