summaryrefslogtreecommitdiffstats
path: root/src/rw/RwHelper.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-29 14:24:42 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-29 14:24:42 +0200
commit6b92e9e12b376b9edf04070ecf83179e9a0f8fda (patch)
tree2a3bb24458b915e9c19bd3ad5102b45f8e905c0f /src/rw/RwHelper.cpp
parentThe real pickup reflection fix (diff)
downloadre3-6b92e9e12b376b9edf04070ecf83179e9a0f8fda.tar
re3-6b92e9e12b376b9edf04070ecf83179e9a0f8fda.tar.gz
re3-6b92e9e12b376b9edf04070ecf83179e9a0f8fda.tar.bz2
re3-6b92e9e12b376b9edf04070ecf83179e9a0f8fda.tar.lz
re3-6b92e9e12b376b9edf04070ecf83179e9a0f8fda.tar.xz
re3-6b92e9e12b376b9edf04070ecf83179e9a0f8fda.tar.zst
re3-6b92e9e12b376b9edf04070ecf83179e9a0f8fda.zip
Diffstat (limited to 'src/rw/RwHelper.cpp')
-rw-r--r--src/rw/RwHelper.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp
index bf70c8dc..08a8fca4 100644
--- a/src/rw/RwHelper.cpp
+++ b/src/rw/RwHelper.cpp
@@ -11,7 +11,11 @@
RtCharset *debugCharset;
#endif
-bool gPS2alphaTest = 1;
+#ifdef DUAL_PASS_RENDERING
+bool gPS2alphaTest = true;
+#else
+bool gPS2alphaTest = false;
+#endif
#ifndef FINAL
static bool charsetOpen;
@@ -644,4 +648,4 @@ RestoreAlphaTest()
RwD3D8SetRenderState(D3DRS_ALPHAREF, saved_alpharef);
#endif
}
-#endif
+#endif \ No newline at end of file