And test that again

This commit is contained in:
samcake 2016-11-09 18:16:51 -08:00
parent 941e5a57b1
commit c01b39b54b
2 changed files with 4 additions and 4 deletions

View file

@ -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;
}

View file

@ -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)