all repos — mgba @ 534c9ca8f87ebf948404c6ad514c99e2deb1bac1

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

534c9ca8f87ebf948404c6ad514c99e2deb1bac1

parent

c6efb396d4080e2e1fcb3107fe203339ccab2acb

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: Window size command line options are now supported - Qt: Increase usability of key mapper
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