diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-28 17:02:38 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-28 17:02:38 -0700 |
commit | 58281d10e847d62ad10ba56d65aea4c2fb8f4aa0 (patch) | |
tree | c08aee652060c3a72a08606184037661943bf54e /tests/aniso.c | |
parent | 2884e1826c8908b195422c2c422be6166a06cf79 (diff) |
fix glGetString and eglQueryString, and optimize emulated glGetString
Diffstat (limited to 'tests/aniso.c')
-rw-r--r-- | tests/aniso.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/aniso.c b/tests/aniso.c index e8d7bd3f..f1674cad 100644 --- a/tests/aniso.c +++ b/tests/aniso.c @@ -66,6 +66,9 @@ int main(int argc, char *argv[]) const char *exts = (const char *)glGetString(GL_EXTENSIONS); assert(hasext(exts, "GL_EXT_texture_filter_anisotropic")); + const char *vendor = (const char *)glGetString(GL_VENDOR); + printf("vendor: %s\n", vendor); + GLint aniso; glGetIntegerv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &aniso); printf("Max anisotropy: %d (using that)\n", aniso); |