From 941e5a57b18c532b683ccd66d729727688d63290 Mon Sep 17 00:00:00 2001 From: samcake Date: Wed, 9 Nov 2016 17:25:46 -0800 Subject: [PATCH] trying a test with 4.4 as the minimum gl context to be able to break on Intel integrated --- libraries/gl/src/gl/Context.cpp | 6 ++++-- libraries/gl/src/gl/OpenGLVersionChecker.cpp | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libraries/gl/src/gl/Context.cpp b/libraries/gl/src/gl/Context.cpp index ec1c284e99..fe48968981 100644 --- a/libraries/gl/src/gl/Context.cpp +++ b/libraries/gl/src/gl/Context.cpp @@ -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); diff --git a/libraries/gl/src/gl/OpenGLVersionChecker.cpp b/libraries/gl/src/gl/OpenGLVersionChecker.cpp index 428bf86c6f..273251581a 100644 --- a/libraries/gl/src/gl/OpenGLVersionChecker.cpp +++ b/libraries/gl/src/gl/OpenGLVersionChecker.cpp @@ -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)