summaryrefslogtreecommitdiffstats
path: root/src/rw
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-26 23:55:22 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-26 23:55:22 +0200
commita38a867cc5fe1677866b7a6b6c01c4dc5dc3387b (patch)
tree35f1795ea2a38d996e43dd5119e28e26a34f06d3 /src/rw
parentpools compatibility (diff)
parentMerge pull request #489 from Nick007J/master (diff)
downloadre3-a38a867cc5fe1677866b7a6b6c01c4dc5dc3387b.tar
re3-a38a867cc5fe1677866b7a6b6c01c4dc5dc3387b.tar.gz
re3-a38a867cc5fe1677866b7a6b6c01c4dc5dc3387b.tar.bz2
re3-a38a867cc5fe1677866b7a6b6c01c4dc5dc3387b.tar.lz
re3-a38a867cc5fe1677866b7a6b6c01c4dc5dc3387b.tar.xz
re3-a38a867cc5fe1677866b7a6b6c01c4dc5dc3387b.tar.zst
re3-a38a867cc5fe1677866b7a6b6c01c4dc5dc3387b.zip
Diffstat (limited to 'src/rw')
-rw-r--r--src/rw/RwHelper.cpp2
-rw-r--r--src/rw/TexRead.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp
index 707f1b44..ed618dd8 100644
--- a/src/rw/RwHelper.cpp
+++ b/src/rw/RwHelper.cpp
@@ -1,4 +1,6 @@
+#if defined RW_D3D9 || defined RWLIBS
#define WITHD3D
+#endif
#include "common.h"
#include "Timecycle.h"
diff --git a/src/rw/TexRead.cpp b/src/rw/TexRead.cpp
index 9f0cae3c..60945665 100644
--- a/src/rw/TexRead.cpp
+++ b/src/rw/TexRead.cpp
@@ -2,7 +2,7 @@
#pragma warning( disable : 4005)
#pragma warning( pop )
#include "common.h"
-#include "win.h"
+#include "crossplatform.h"
#include "Timer.h"
#ifdef GTA_PC