mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Fix bug in simplification
This commit is contained in:
parent
9ea5291c48
commit
a7b75792ec
2
deps/glad.c
vendored
2
deps/glad.c
vendored
|
@ -7,7 +7,7 @@ struct gladGLversionStruct GLVersion;
|
||||||
|
|
||||||
static int has_ext(const char *ext) {
|
static int has_ext(const char *ext) {
|
||||||
#if defined(GL_VERSION_3_0) || defined(GL_ES_VERSION_3_0)
|
#if defined(GL_VERSION_3_0) || defined(GL_ES_VERSION_3_0)
|
||||||
if(glGetStringi == NULL) {
|
if(GLVersion.major < 3 || glGetStringi == NULL) {
|
||||||
#endif
|
#endif
|
||||||
const char *extensions;
|
const char *extensions;
|
||||||
const char *loc;
|
const char *loc;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user