summaryrefslogtreecommitdiffstats
path: root/src/rw/TexRead.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-11 22:47:45 +0200
committerGitHub <noreply@github.com>2020-04-11 22:47:45 +0200
commit766a881a7e69836c865c98f137ccfae8b10a5276 (patch)
tree13df853a3b0253ef804afc383de0e5e952074533 /src/rw/TexRead.cpp
parentMerge branch 'master' of github.com:gtamodding/re3 (diff)
parentLink with RW libs (diff)
downloadre3-766a881a7e69836c865c98f137ccfae8b10a5276.tar
re3-766a881a7e69836c865c98f137ccfae8b10a5276.tar.gz
re3-766a881a7e69836c865c98f137ccfae8b10a5276.tar.bz2
re3-766a881a7e69836c865c98f137ccfae8b10a5276.tar.lz
re3-766a881a7e69836c865c98f137ccfae8b10a5276.tar.xz
re3-766a881a7e69836c865c98f137ccfae8b10a5276.tar.zst
re3-766a881a7e69836c865c98f137ccfae8b10a5276.zip
Diffstat (limited to '')
-rw-r--r--src/rw/TexRead.cpp (renamed from src/core/RwTexRead.cpp)4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/RwTexRead.cpp b/src/rw/TexRead.cpp
index 49b245dd..50b99d47 100644
--- a/src/core/RwTexRead.cpp
+++ b/src/rw/TexRead.cpp
@@ -147,7 +147,11 @@ RwTexDictionaryGtaStreamRead2(RwStream *stream, RwTexDictionary *texDict)
}
#ifdef GTA_PC
+#ifdef RWLIBS
+extern "C" RwInt32 _rwD3D8FindCorrectRasterFormat(RwRasterType type, RwInt32 flags);
+#else
WRAPPER RwInt32 _rwD3D8FindCorrectRasterFormat(RwRasterType type, RwInt32 flags) { EAXJMP(0x59A350); }
+#endif
void
ReadVideoCardCapsFile(uint32 &cap32, uint32 &cap24, uint32 &cap16, uint32 &cap8)