1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-05 08:35:54 +00:00
This commit is contained in:
aap 2021-01-21 22:25:14 +01:00
parent e99589a3eb
commit 94ff966994

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