diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-08-30 23:17:47 +0200 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2014-10-12 14:39:02 +0200 |
commit | ac54cd13dbb8e82ccc9134aab212271d2f32b0c8 (patch) | |
tree | 9eb2c6feaa64d889b9b46b4b5bedd1bb4e185ec9 /src/citra_qt | |
parent | Rework OpenGL renderer. (diff) | |
download | yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.tar yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.tar.gz yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.tar.bz2 yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.tar.lz yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.tar.xz yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.tar.zst yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.zip |
Diffstat (limited to 'src/citra_qt')
-rw-r--r-- | src/citra_qt/bootmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index 5dce9e570..0430aa1ed 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp @@ -113,10 +113,10 @@ GRenderWindow::GRenderWindow(QWidget* parent) : QWidget(parent), emu_thread(this // TODO: One of these flags might be interesting: WA_OpaquePaintEvent, WA_NoBackground, WA_DontShowOnScreen, WA_DeleteOnClose QGLFormat fmt; - fmt.setProfile(QGLFormat::CoreProfile); fmt.setVersion(3,2); - fmt.setSampleBuffers(true); - fmt.setSamples(4); + fmt.setProfile(QGLFormat::CoreProfile); + // Requests a forward-compatible context, which is required to get a 3.2+ context on OS X + fmt.setOption(QGL::NoDeprecatedFunctions); child = new GGLWidgetInternal(fmt, this); QBoxLayout* layout = new QHBoxLayout(this); |