mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +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;
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue