diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-29 14:34:57 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-29 14:34:57 +0200 |
commit | acdc52116ea78b4ebf065b23b0cd48d7e41c711a (patch) | |
tree | d50d8667825d3d9e9f99d4948d349e1ffc4e3f97 /src/core/Game.cpp | |
parent | some fakerw additions for shadows; update librw (diff) | |
parent | Add forgotten file (diff) | |
download | re3-acdc52116ea78b4ebf065b23b0cd48d7e41c711a.tar re3-acdc52116ea78b4ebf065b23b0cd48d7e41c711a.tar.gz re3-acdc52116ea78b4ebf065b23b0cd48d7e41c711a.tar.bz2 re3-acdc52116ea78b4ebf065b23b0cd48d7e41c711a.tar.lz re3-acdc52116ea78b4ebf065b23b0cd48d7e41c711a.tar.xz re3-acdc52116ea78b4ebf065b23b0cd48d7e41c711a.tar.zst re3-acdc52116ea78b4ebf065b23b0cd48d7e41c711a.zip |
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r-- | src/core/Game.cpp | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index 39bbd364..75c3773c 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -152,9 +152,14 @@ CGame::InitialiseOnceBeforeRW(void) return true; } -#if !defined(LIBRW) && defined(PS2_MATFX) +#ifndef LIBRW +#ifdef PS2_MATFX void ReplaceMatFxCallback(); -#endif +#endif // PS2_MATFX +#ifdef DUAL_PASS_RENDERING +void ReplaceAtomicPipeCallback(); +#endif // DUAL_PASS_RENDERING +#endif // !LIBRW bool CGame::InitialiseRenderWare(void) @@ -206,9 +211,14 @@ CGame::InitialiseRenderWare(void) #else rw::MatFX::modulateEnvMap = false; #endif -#elif defined(PS2_MATFX) +#else +#ifdef PS2_MATFX ReplaceMatFxCallback(); -#endif +#endif // PS2_MATFX +#ifdef DUAL_PASS_RENDERING + ReplaceAtomicPipeCallback(); +#endif // DUAL_PASS_RENDERING +#endif // LIBRW CFont::Initialise(); CHud::Initialise(); |