diff options
-rw-r--r-- | progs/tests/dinoshade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/dinoshade.c b/progs/tests/dinoshade.c index 504b4af526a..44115b9209d 100644 --- a/progs/tests/dinoshade.c +++ b/progs/tests/dinoshade.c @@ -793,7 +793,7 @@ supportsOneDotOne(void) version = (char *) glGetString(GL_VERSION); if (sscanf(version, "%d.%d", &major, &minor) == 2) - return major >= 1 && minor >= 1; + return major * 10 + minor >= 11; return 0; /* OpenGL version string malformed! */ } |