When checking if anisotropic filtering is supported, I get conflicting results.
if(glewIsSupported("GL_EXT_texture_filter_anisotropic") || GLEW_EXT_texture_filter_anisotropic) { std::cout << "support anisotropic" << std::endl; } GLfloat max; glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &max); std::cout << max << std::endl;
The output for this section on my machine is:
16
Thus, anisotropic filtering 16 is supported, but glewIsSupported , as well as the glew extension string, say the opposite.
Does the GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT sufficiently and incorrectly check glew or is something else happening?
source share