diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-29 14:24:42 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-29 14:24:42 +0200 |
commit | 6b92e9e12b376b9edf04070ecf83179e9a0f8fda (patch) | |
tree | 2a3bb24458b915e9c19bd3ad5102b45f8e905c0f /src/rw | |
parent | The real pickup reflection fix (diff) | |
download | re3-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 '')
-rw-r--r-- | src/rw/RwHelper.cpp | 8 | ||||
-rw-r--r-- | src/rw/RwMatFX.cpp | 4 |
2 files changed, 8 insertions, 4 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 diff --git a/src/rw/RwMatFX.cpp b/src/rw/RwMatFX.cpp index a128ff1a..c8384b0f 100644 --- a/src/rw/RwMatFX.cpp +++ b/src/rw/RwMatFX.cpp @@ -2,7 +2,6 @@ #define WITHD3D #include "common.h" -#include "rwcore.h" #include "rpmatfx.h" struct MatFXNothing { int pad[5]; int effect; }; @@ -305,7 +304,8 @@ ReplaceMatFxCallback() { RxD3D8AllInOneSetRenderCallBack( RxPipelineFindNodeByName(RpMatFXGetD3D8Pipeline(rpMATFXD3D8ATOMICPIPELINE), RxNodeDefinitionGetD3D8AtomicAllInOne()->name, nil, nil), - _rwD3D8AtomicMatFXRenderCallback); + _rwD3D8AtomicMatFXRenderCallback); + } #endif // PS2_MATFX |