mirror of
https://github.com/overte-org/overte.git
synced 2025-06-16 12:00:19 +02:00
And test that again
This commit is contained in:
parent
941e5a57b1
commit
c01b39b54b
2 changed files with 4 additions and 4 deletions
|
@ -215,10 +215,10 @@ void Context::create() {
|
||||||
}
|
}
|
||||||
glewExperimental = true;
|
glewExperimental = true;
|
||||||
glewInit();
|
glewInit();
|
||||||
if (glewIsSupported("GL_VERSION_4_5")) {
|
// if (glewIsSupported("GL_VERSION_4_5")) {
|
||||||
_version = 0x0405;
|
// _version = 0x0405;
|
||||||
// } else if (glewIsSupported("GL_VERSION_4_3")) {
|
// } else if (glewIsSupported("GL_VERSION_4_3")) {
|
||||||
} else if (glewIsSupported("GL_VERSION_4_4")) {
|
/* } else*/ if (glewIsSupported("GL_VERSION_4_8")) {
|
||||||
///_version = 0x0403;
|
///_version = 0x0403;
|
||||||
_version = 0x0404;
|
_version = 0x0404;
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
// Minimum gl version required is 4.1
|
// Minimum gl version required is 4.1
|
||||||
//#define MINIMUM_GL_VERSION 0x0401
|
//#define MINIMUM_GL_VERSION 0x0401
|
||||||
#define MINIMUM_GL_VERSION 0x0404
|
#define MINIMUM_GL_VERSION 0x0408
|
||||||
|
|
||||||
OpenGLVersionChecker::OpenGLVersionChecker(int& argc, char** argv) :
|
OpenGLVersionChecker::OpenGLVersionChecker(int& argc, char** argv) :
|
||||||
QApplication(argc, argv)
|
QApplication(argc, argv)
|
||||||
|
|
Loading…
Reference in a new issue