summaryrefslogtreecommitdiffstats
path: root/src/rw
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-29 14:31:34 +0200
committeraap <aap@papnet.eu>2020-07-29 14:31:34 +0200
commite13d80a4ebfdaa89de3ad2eb6dc9ec6fbc1d3132 (patch)
tree1a955129f0f9cd615f97a9c3ee0ee1efcba832e8 /src/rw
parentAdd forgotten file (diff)
downloadre3-e13d80a4ebfdaa89de3ad2eb6dc9ec6fbc1d3132.tar
re3-e13d80a4ebfdaa89de3ad2eb6dc9ec6fbc1d3132.tar.gz
re3-e13d80a4ebfdaa89de3ad2eb6dc9ec6fbc1d3132.tar.bz2
re3-e13d80a4ebfdaa89de3ad2eb6dc9ec6fbc1d3132.tar.lz
re3-e13d80a4ebfdaa89de3ad2eb6dc9ec6fbc1d3132.tar.xz
re3-e13d80a4ebfdaa89de3ad2eb6dc9ec6fbc1d3132.tar.zst
re3-e13d80a4ebfdaa89de3ad2eb6dc9ec6fbc1d3132.zip
Diffstat (limited to 'src/rw')
-rw-r--r--src/rw/RwHelper.cpp2
-rw-r--r--src/rw/RwPS2AlphaTest.cpp (renamed from src/rw/RwDualPass.cpp)4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp
index 08a8fca4..f568532a 100644
--- a/src/rw/RwHelper.cpp
+++ b/src/rw/RwHelper.cpp
@@ -11,7 +11,7 @@
RtCharset *debugCharset;
#endif
-#ifdef DUAL_PASS_RENDERING
+#ifdef PS2_ALPHA_TEST
bool gPS2alphaTest = true;
#else
bool gPS2alphaTest = false;
diff --git a/src/rw/RwDualPass.cpp b/src/rw/RwPS2AlphaTest.cpp
index c8ebb8ad..c0d68355 100644
--- a/src/rw/RwDualPass.cpp
+++ b/src/rw/RwPS2AlphaTest.cpp
@@ -2,7 +2,7 @@
#define WITHD3D
#include "common.h"
-#ifdef DUAL_PASS_RENDERING
+#ifdef PS2_ALPHA_TEST
#include "rwcore.h"
extern "C" {
@@ -242,6 +242,6 @@ ReplaceAtomicPipeCallback()
_rxD3D8DualPassRenderCallback);
}
-#endif // DUAL_PASS_RENDERING
+#endif // PS2_ALPHA_TEST
#endif // !LIBRW \ No newline at end of file