From c01b39b54bdd0fe83fdfb8690a640ae98f1d2cef Mon Sep 17 00:00:00 2001 From: samcake Date: Wed, 9 Nov 2016 18:16:51 -0800 Subject: [PATCH] And test that again --- libraries/gl/src/gl/Context.cpp | 6 +++--- libraries/gl/src/gl/OpenGLVersionChecker.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/gl/src/gl/Context.cpp b/libraries/gl/src/gl/Context.cpp index fe48968981..221223d584 100644 --- a/libraries/gl/src/gl/Context.cpp +++ b/libraries/gl/src/gl/Context.cpp @@ -215,10 +215,10 @@ void Context::create() { } glewExperimental = true; glewInit(); - if (glewIsSupported("GL_VERSION_4_5")) { - _version = 0x0405; + // if (glewIsSupported("GL_VERSION_4_5")) { + // _version = 0x0405; // } else if (glewIsSupported("GL_VERSION_4_3")) { - } else if (glewIsSupported("GL_VERSION_4_4")) { + /* } else*/ if (glewIsSupported("GL_VERSION_4_8")) { ///_version = 0x0403; _version = 0x0404; } diff --git a/libraries/gl/src/gl/OpenGLVersionChecker.cpp b/libraries/gl/src/gl/OpenGLVersionChecker.cpp index 273251581a..322a7bc484 100644 --- a/libraries/gl/src/gl/OpenGLVersionChecker.cpp +++ b/libraries/gl/src/gl/OpenGLVersionChecker.cpp @@ -23,7 +23,7 @@ // Minimum gl version required is 4.1 //#define MINIMUM_GL_VERSION 0x0401 -#define MINIMUM_GL_VERSION 0x0404 +#define MINIMUM_GL_VERSION 0x0408 OpenGLVersionChecker::OpenGLVersionChecker(int& argc, char** argv) : QApplication(argc, argv)