diff options
author | Brian Paul <[email protected]> | 2008-11-11 14:33:11 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-11-11 14:35:39 -0700 |
commit | 90246d3ea54f54d60593dce1b89f0226058a3c56 (patch) | |
tree | 6ca7242c3fb93c801a5638e7cc3cfba21a7b06e2 /progs/tests | |
parent | f4361540f8dd3016571523863b33481cba7a0c07 (diff) |
mesa: fix version check in dinoshade.c
Diffstat (limited to 'progs/tests')
-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! */ } |