diff options
author | aap <aap@papnet.eu> | 2021-01-21 22:25:14 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-21 22:25:14 +0100 |
commit | 94ff96699477fcbcd0dba949691cbf6641ebb485 (patch) | |
tree | dd6d44d43fa18f9a89f99281d5f3608cf5e78053 | |
parent | fixed anisotropic filtering; updated librw (diff) | |
download | re3-94ff96699477fcbcd0dba949691cbf6641ebb485.tar re3-94ff96699477fcbcd0dba949691cbf6641ebb485.tar.gz re3-94ff96699477fcbcd0dba949691cbf6641ebb485.tar.bz2 re3-94ff96699477fcbcd0dba949691cbf6641ebb485.tar.lz re3-94ff96699477fcbcd0dba949691cbf6641ebb485.tar.xz re3-94ff96699477fcbcd0dba949691cbf6641ebb485.tar.zst re3-94ff96699477fcbcd0dba949691cbf6641ebb485.zip |
-rw-r--r-- | src/rw/TexRead.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rw/TexRead.cpp b/src/rw/TexRead.cpp index 4eb06ad1..632cec02 100644 --- a/src/rw/TexRead.cpp +++ b/src/rw/TexRead.cpp @@ -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 |