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

sdl2: restore anisotropic filtering support in gl

parent 716aa1f3
No related branches found
No related tags found
No related merge requests found
......@@ -171,7 +171,10 @@ boolean OglSdlSurface(INT32 w, INT32 h)
DBG_Printf("Extensions : %s\n", gl_extensions);
oglflags = 0;
maximumAnisotropy = 0;
if (isExtAvailable("GL_EXT_texture_filter_anisotropic", gl_extensions))
pglGetIntegerv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &maximumAnisotropy);
else
maximumAnisotropy = 0;
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