diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-09-25 23:24:30 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-09-25 23:25:39 +0200 |
commit | 0ce8082bdaac94f127f6783023b99d6d4cf8e297 (patch) | |
tree | 0f4fb8ffa1cd943df126407b1d90cba418ef558e /src | |
parent | Add link to steam store (diff) | |
download | re3-0ce8082bdaac94f127f6783023b99d6d4cf8e297.tar re3-0ce8082bdaac94f127f6783023b99d6d4cf8e297.tar.gz re3-0ce8082bdaac94f127f6783023b99d6d4cf8e297.tar.bz2 re3-0ce8082bdaac94f127f6783023b99d6d4cf8e297.tar.lz re3-0ce8082bdaac94f127f6783023b99d6d4cf8e297.tar.xz re3-0ce8082bdaac94f127f6783023b99d6d4cf8e297.tar.zst re3-0ce8082bdaac94f127f6783023b99d6d4cf8e297.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index 99868dbd..5fea9c4b 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -757,12 +757,13 @@ DisplayGameDebugText() { static bool bDisplayPosn = false; static bool bDisplayRate = false; - +#ifndef FINAL { SETTWEAKPATH("GameDebugText"); TWEAKBOOL(bDisplayPosn); TWEAKBOOL(bDisplayRate); } +#endif char str[200]; @@ -1111,6 +1112,7 @@ Idle(void *arg) #endif #ifdef FIX_BUGS + RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void *)FALSE); // TODO: temp? this fixes OpenGL render but there should be a better place for this // This has to be done BEFORE RwCameraBeginUpdate RwCameraSetFarClipPlane(Scene.camera, CTimeCycle::GetFarClip()); RwCameraSetFogDistance(Scene.camera, CTimeCycle::GetFogStart()); |