summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-11 20:07:36 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-11 20:07:36 +0200
commit5f1c3fa208fef463685095b9a357e8ac5b2a49ae (patch)
treed963d06fa099ba4ea7d73899afd28496e5699bb1 /src/core/main.cpp
parentMerge branch 'master' into miami (diff)
parentCRenderer (diff)
downloadre3-5f1c3fa208fef463685095b9a357e8ac5b2a49ae.tar
re3-5f1c3fa208fef463685095b9a357e8ac5b2a49ae.tar.gz
re3-5f1c3fa208fef463685095b9a357e8ac5b2a49ae.tar.bz2
re3-5f1c3fa208fef463685095b9a357e8ac5b2a49ae.tar.lz
re3-5f1c3fa208fef463685095b9a357e8ac5b2a49ae.tar.xz
re3-5f1c3fa208fef463685095b9a357e8ac5b2a49ae.tar.zst
re3-5f1c3fa208fef463685095b9a357e8ac5b2a49ae.zip
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 6bf8228d..00ae3774 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -778,14 +778,17 @@ RenderScene(void)
DoRWRenderHorizon();
CRenderer::RenderRoads();
CCoronas::RenderReflections();
- RwRenderStateSet(rwRENDERSTATEFOGENABLE, (void*)TRUE);
CRenderer::RenderEverythingBarRoads();
- CRenderer::RenderBoats();
- DefinedState();
+ RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE);
CWaterLevel::RenderWater();
+ CRenderer::RenderBoats();
+ CRenderer::RenderFadingInUnderwaterEntities();
+ RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE);
+ // CWaterLevel::RenderTransparentWater();
CRenderer::RenderFadingInEntities();
- CRenderer::RenderVehiclesButNotBoats();
+ RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE);
CWeather::RenderRainStreaks();
+ // CCoronas::RenderSunReflection
}
void