diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-09-28 03:40:58 +0300 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-09-28 03:40:58 +0300 |
commit | 1ea89f5aedbefccd21ad6a7be49afa898a2ab9c4 (patch) | |
tree | 093a94660e494cc1c83ac9d43fc1be520809926f /src/core/main.cpp | |
parent | 37e382c7581426d38d482a27f53c522af184df77 (diff) | |
parent | 70aac0f460a9e57956de00ae5d84d8bb4bf4643c (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/core/main.cpp')
-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()); |