summaryrefslogtreecommitdiffstats
path: root/src/rw
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-18 11:16:02 +0100
committeraap <aap@papnet.eu>2020-11-18 11:16:02 +0100
commit9826fdf6d5a324b316e59a34feeb0da9ffca56cc (patch)
treeae43d5123915fd7c5647442de4e769d57c0bf83d /src/rw
parentFix CI (diff)
downloadre3-9826fdf6d5a324b316e59a34feeb0da9ffca56cc.tar
re3-9826fdf6d5a324b316e59a34feeb0da9ffca56cc.tar.gz
re3-9826fdf6d5a324b316e59a34feeb0da9ffca56cc.tar.bz2
re3-9826fdf6d5a324b316e59a34feeb0da9ffca56cc.tar.lz
re3-9826fdf6d5a324b316e59a34feeb0da9ffca56cc.tar.xz
re3-9826fdf6d5a324b316e59a34feeb0da9ffca56cc.tar.zst
re3-9826fdf6d5a324b316e59a34feeb0da9ffca56cc.zip
Diffstat (limited to 'src/rw')
-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 0a0ed04b..72d2ae17 100644
--- a/src/rw/TexRead.cpp
+++ b/src/rw/TexRead.cpp
@@ -351,7 +351,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
@@ -385,7 +385,7 @@ CreateTxdImageForVideoCard()
delete []buf;
delete pDir;
CStreaming::RemoveTxd(i);
-#ifdef LIBRW
+#ifdef RW_GL3
rw::gl3::needToReadBackTextures = false;
#endif
return false;
@@ -414,7 +414,7 @@ CreateTxdImageForVideoCard()
RwStreamClose(img, nil);
delete []buf;
-#ifdef LIBRW
+#ifdef RW_GL3
rw::gl3::needToReadBackTextures = false;
#endif