mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
trying a test with 4.4 as the minimum gl context to be able to break on Intel integrated
This commit is contained in:
parent
b7381c30cb
commit
941e5a57b1
2 changed files with 6 additions and 3 deletions
|
@ -217,8 +217,10 @@ void Context::create() {
|
|||
glewInit();
|
||||
if (glewIsSupported("GL_VERSION_4_5")) {
|
||||
_version = 0x0405;
|
||||
} else if (glewIsSupported("GL_VERSION_4_3")) {
|
||||
_version = 0x0403;
|
||||
// } else if (glewIsSupported("GL_VERSION_4_3")) {
|
||||
} else if (glewIsSupported("GL_VERSION_4_4")) {
|
||||
///_version = 0x0403;
|
||||
_version = 0x0404;
|
||||
}
|
||||
glGetError();
|
||||
wglMakeCurrent(0, 0);
|
||||
|
|
|
@ -22,7 +22,8 @@
|
|||
#include "GLHelpers.h"
|
||||
|
||||
// Minimum gl version required is 4.1
|
||||
#define MINIMUM_GL_VERSION 0x0401
|
||||
//#define MINIMUM_GL_VERSION 0x0401
|
||||
#define MINIMUM_GL_VERSION 0x0404
|
||||
|
||||
OpenGLVersionChecker::OpenGLVersionChecker(int& argc, char** argv) :
|
||||
QApplication(argc, argv)
|
||||
|
|
Loading…
Reference in a new issue