summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-27 19:53:10 +0100
committeraap <aap@papnet.eu>2020-12-27 19:53:10 +0100
commit013e9b999203ff0e9492bfba44da387c99c4abf0 (patch)
tree568455bf6ea79cbf31006e7b7f1f3d32a5ae5bbf
parenttiny rendering fixes (diff)
downloadre3-013e9b999203ff0e9492bfba44da387c99c4abf0.tar
re3-013e9b999203ff0e9492bfba44da387c99c4abf0.tar.gz
re3-013e9b999203ff0e9492bfba44da387c99c4abf0.tar.bz2
re3-013e9b999203ff0e9492bfba44da387c99c4abf0.tar.lz
re3-013e9b999203ff0e9492bfba44da387c99c4abf0.tar.xz
re3-013e9b999203ff0e9492bfba44da387c99c4abf0.tar.zst
re3-013e9b999203ff0e9492bfba44da387c99c4abf0.zip
-rw-r--r--src/core/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 9824fb18..2a04e55e 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -1158,6 +1158,7 @@ MattRenderScene(void)
// CMattRenderer::ResetRenderStates
/// CRenderer::ClearForFrame(); // before ConstructRenderList
// CClock::CalcEnvMapTimeMultiplicator
+ RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE);
CWaterLevel::RenderWater(); // actually CMattRenderer::RenderWater
// CClock::ms_EnvMapTimeMultiplicator = 1.0f;
// cWorldStream::ClearDynamics
@@ -1179,6 +1180,7 @@ if(gbRenderBoats)
CRenderer::RenderBoats();
if(gbRenderFadingInUnderwaterEntities)
CRenderer::RenderFadingInUnderwaterEntities();
+ RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE);
if(gbRenderWater)
CRenderer::RenderTransparentWater();