Update OpenGL's backend version from 3.3 to 4.3

This commit is contained in:
FernandoS27
2018-11-17 18:04:50 -04:00
parent b6d2c64f4d
commit 377c60645c
5 changed files with 2738 additions and 2209 deletions

View File

@ -310,7 +310,7 @@ void GRenderWindow::InitRenderTarget() {
// TODO: One of these flags might be interesting: WA_OpaquePaintEvent, WA_NoBackground,
// WA_DontShowOnScreen, WA_DeleteOnClose
QGLFormat fmt;
fmt.setVersion(3, 3);
fmt.setVersion(4, 3);
fmt.setProfile(QGLFormat::CoreProfile);
fmt.setSwapInterval(false);