mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
sdl2: handle no AF support correctly (1, not 0)
GL_EXT_texture_filter_anisotropic is cool I guess
This commit is contained in:
parent
39603487ec
commit
8890722223
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue