This commit is contained in:
aap 2021-01-21 22:25:14 +01:00
parent e99589a3eb
commit 94ff966994
1 changed files with 1 additions and 4 deletions

View File

@ -55,11 +55,8 @@ RwTextureGtaStreamRead(RwStream *stream)
texNumLoaded++;
}
if(tex == nil)
return nil;
#ifdef ANISOTROPIC_FILTERING
if(RpAnisotGetMaxSupportedMaxAnisotropy() > 1) // BUG? this was RpAnisotTextureGetMaxAnisotropy, but that doesn't make much sense
if(tex && RpAnisotGetMaxSupportedMaxAnisotropy() > 1) // BUG? this was RpAnisotTextureGetMaxAnisotropy, but that doesn't make much sense
RpAnisotTextureSetMaxAnisotropy(tex, RpAnisotGetMaxSupportedMaxAnisotropy());
#endif