Increase required OpenGL version to 3.3
This gives us several niceties such as Sampler Objects, shader attribute locations and Timer Queries.
This commit is contained in:
parent
a1a5570e97
commit
68eb197494
2 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ GRenderWindow::GRenderWindow(QWidget* parent, EmuThread* emu_thread) :
|
|||
|
||||
// TODO: One of these flags might be interesting: WA_OpaquePaintEvent, WA_NoBackground, WA_DontShowOnScreen, WA_DeleteOnClose
|
||||
QGLFormat fmt;
|
||||
fmt.setVersion(3,2);
|
||||
fmt.setVersion(3,3);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue