mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 20:58:28 +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();
|
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")) {
|
||||||
_version = 0x0403;
|
} else if (glewIsSupported("GL_VERSION_4_4")) {
|
||||||
|
///_version = 0x0403;
|
||||||
|
_version = 0x0404;
|
||||||
}
|
}
|
||||||
glGetError();
|
glGetError();
|
||||||
wglMakeCurrent(0, 0);
|
wglMakeCurrent(0, 0);
|
||||||
|
|
|
@ -22,7 +22,8 @@
|
||||||
#include "GLHelpers.h"
|
#include "GLHelpers.h"
|
||||||
|
|
||||||
// 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
|
||||||
|
|
||||||
OpenGLVersionChecker::OpenGLVersionChecker(int& argc, char** argv) :
|
OpenGLVersionChecker::OpenGLVersionChecker(int& argc, char** argv) :
|
||||||
QApplication(argc, argv)
|
QApplication(argc, argv)
|
||||||
|
|
Loading…
Reference in a new issue