diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-05-27 20:50:01 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-05-27 20:50:01 +0200 |
commit | 63d0bdc863f76d018fc8cf3209a9210bc71f0421 (patch) | |
tree | bdaa4489e204cbad708a03f5d2dab991c8a7f41f /src/core/main.cpp | |
parent | fix linux build (diff) | |
download | re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.gz re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.bz2 re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.lz re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.xz re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.tar.zst re3-63d0bdc863f76d018fc8cf3209a9210bc71f0421.zip |
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r-- | src/core/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index aefabfc7..d95e7404 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -821,7 +821,7 @@ RenderScene(void) CRenderer::RenderBoats(); CRenderer::RenderFadingInUnderwaterEntities(); RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE); - // CWaterLevel::RenderTransparentWater(); + CWaterLevel::RenderTransparentWater(); CRenderer::RenderFadingInEntities(); RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE); CWeather::RenderRainStreaks(); @@ -1009,6 +1009,9 @@ Idle(void *arg) #ifdef TIMEBARS tbStartTimer(0, "CnstrRenderList"); #endif +#ifdef PC_WATER + CWaterLevel::PreCalcWaterGeometry(); +#endif CRenderer::ConstructRenderList(); #ifdef TIMEBARS tbEndTimer("CnstrRenderList"); |