diff options
Diffstat (limited to 'src/citra_qt/bootmanager.cpp')
| -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 | |||
| 113 | 113 | ||
| 114 | // TODO: One of these flags might be interesting: WA_OpaquePaintEvent, WA_NoBackground, WA_DontShowOnScreen, WA_DeleteOnClose | 114 | // TODO: One of these flags might be interesting: WA_OpaquePaintEvent, WA_NoBackground, WA_DontShowOnScreen, WA_DeleteOnClose |
| 115 | QGLFormat fmt; | 115 | QGLFormat fmt; |
| 116 | fmt.setProfile(QGLFormat::CoreProfile); | ||
| 117 | fmt.setVersion(3,2); | 116 | fmt.setVersion(3,2); |
| 118 | fmt.setSampleBuffers(true); | 117 | fmt.setProfile(QGLFormat::CoreProfile); |
| 119 | fmt.setSamples(4); | 118 | // Requests a forward-compatible context, which is required to get a 3.2+ context on OS X |
| 119 | fmt.setOption(QGL::NoDeprecatedFunctions); | ||
| 120 | 120 | ||
| 121 | child = new GGLWidgetInternal(fmt, this); | 121 | child = new GGLWidgetInternal(fmt, this); |
| 122 | QBoxLayout* layout = new QHBoxLayout(this); | 122 | QBoxLayout* layout = new QHBoxLayout(this); |