Skip to content
Snippets Groups Projects
Commit 88907222 authored by Eidolon's avatar Eidolon
Browse files

sdl2: handle no AF support correctly (1, not 0)

GL_EXT_texture_filter_anisotropic is cool I guess
parent 39603487
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ boolean OglSdlSurface(INT32 w, INT32 h)
if (isExtAvailable("GL_EXT_texture_filter_anisotropic", gl_extensions))
pglGetIntegerv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &maximumAnisotropy);
else
maximumAnisotropy = 0;
maximumAnisotropy = 1;
granisotropicmode_cons_t[1].value = maximumAnisotropy;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment