summaryrefslogtreecommitdiff
path: root/src/citra_qt/bootmanager.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-08-30 04:29:03 -0300
committerGravatar Yuri Kunde Schlesner2015-08-30 08:45:57 -0300
commit68eb19749456ba653c8286080f5be99ffc1ce5e7 (patch)
treefa73927175f3f970a67975ff0519464495d96fca /src/citra_qt/bootmanager.cpp
parentReplace the previous OpenGL loader with a glad-generated 3.3 one (diff)
downloadyuzu-68eb19749456ba653c8286080f5be99ffc1ce5e7.tar.gz
yuzu-68eb19749456ba653c8286080f5be99ffc1ce5e7.tar.xz
yuzu-68eb19749456ba653c8286080f5be99ffc1ce5e7.zip
Increase required OpenGL version to 3.3
This gives us several niceties such as Sampler Objects, shader attribute locations and Timer Queries.
Diffstat (limited to 'src/citra_qt/bootmanager.cpp')
-rw-r--r--src/citra_qt/bootmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp
index f8aacb527..d9bacfc3d 100644
--- a/src/citra_qt/bootmanager.cpp
+++ b/src/citra_qt/bootmanager.cpp
@@ -109,7 +109,7 @@ GRenderWindow::GRenderWindow(QWidget* parent, EmuThread* emu_thread) :
109 109
110 // TODO: One of these flags might be interesting: WA_OpaquePaintEvent, WA_NoBackground, WA_DontShowOnScreen, WA_DeleteOnClose 110 // TODO: One of these flags might be interesting: WA_OpaquePaintEvent, WA_NoBackground, WA_DontShowOnScreen, WA_DeleteOnClose
111 QGLFormat fmt; 111 QGLFormat fmt;
112 fmt.setVersion(3,2); 112 fmt.setVersion(3,3);
113 fmt.setProfile(QGLFormat::CoreProfile); 113 fmt.setProfile(QGLFormat::CoreProfile);
114 // Requests a forward-compatible context, which is required to get a 3.2+ context on OS X 114 // Requests a forward-compatible context, which is required to get a 3.2+ context on OS X
115 fmt.setOption(QGL::NoDeprecatedFunctions); 115 fmt.setOption(QGL::NoDeprecatedFunctions);