summaryrefslogtreecommitdiffstats
path: root/src/rw/TexRead.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-18 11:15:27 +0100
committeraap <aap@papnet.eu>2020-11-18 11:15:27 +0100
commitacb29e0daddc69a6d1d2c32c9205301c5d616a30 (patch)
treec6eeeeda23457820ef35020bcaa54fa967690ea5 /src/rw/TexRead.cpp
parentchanges to librw layer, GLES now runtime choice (diff)
downloadre3-acb29e0daddc69a6d1d2c32c9205301c5d616a30.tar
re3-acb29e0daddc69a6d1d2c32c9205301c5d616a30.tar.gz
re3-acb29e0daddc69a6d1d2c32c9205301c5d616a30.tar.bz2
re3-acb29e0daddc69a6d1d2c32c9205301c5d616a30.tar.lz
re3-acb29e0daddc69a6d1d2c32c9205301c5d616a30.tar.xz
re3-acb29e0daddc69a6d1d2c32c9205301c5d616a30.tar.zst
re3-acb29e0daddc69a6d1d2c32c9205301c5d616a30.zip
Diffstat (limited to 'src/rw/TexRead.cpp')
-rw-r--r--src/rw/TexRead.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rw/TexRead.cpp b/src/rw/TexRead.cpp
index 56b1aacc..069152a2 100644
--- a/src/rw/TexRead.cpp
+++ b/src/rw/TexRead.cpp
@@ -384,7 +384,7 @@ CreateTxdImageForVideoCard()
return false;
}
-#ifdef LIBRW
+#ifdef RW_GL3
// so we can read back DXT with GLES
// only works for textures that are not yet loaded
// so let's hope that is the case for all
@@ -418,7 +418,7 @@ CreateTxdImageForVideoCard()
delete []buf;
delete pDir;
CStreaming::RemoveTxd(i);
-#ifdef LIBRW
+#ifdef RW_GL3
rw::gl3::needToReadBackTextures = false;
#endif
return false;
@@ -447,7 +447,7 @@ CreateTxdImageForVideoCard()
RwStreamClose(img, nil);
delete []buf;
-#ifdef LIBRW
+#ifdef RW_GL3
rw::gl3::needToReadBackTextures = false;
#endif