Qt: Reenable double buffering, as disabling it broke some Windows configs

This commit is contained in:
Jeffrey Pfau 2015-08-19 23:52:59 -07:00
parent c6efb396d4
commit 534c9ca8f8
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -22,7 +22,7 @@ Display::Driver Display::s_driver = Display::Driver::QT;
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