trying a test with 4.4 as the minimum gl context to be able to break on Intel integrated

This commit is contained in:
samcake 2016-11-09 17:25:46 -08:00
parent b7381c30cb
commit 941e5a57b1
2 changed files with 6 additions and 3 deletions

View file

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

View file

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