summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-09-25 23:24:30 +0200
committerSergeanur <s.anureev@yandex.ua>2020-09-25 23:26:43 +0200
commitc3d7a73c0b699a82dec017b0391eb2f8fd90ab64 (patch)
tree36d160e57a56f07556bde0243937725a41a00452 /src/core
parentCPed and CCivilianPed funcs done (diff)
downloadre3-c3d7a73c0b699a82dec017b0391eb2f8fd90ab64.tar
re3-c3d7a73c0b699a82dec017b0391eb2f8fd90ab64.tar.gz
re3-c3d7a73c0b699a82dec017b0391eb2f8fd90ab64.tar.bz2
re3-c3d7a73c0b699a82dec017b0391eb2f8fd90ab64.tar.lz
re3-c3d7a73c0b699a82dec017b0391eb2f8fd90ab64.tar.xz
re3-c3d7a73c0b699a82dec017b0391eb2f8fd90ab64.tar.zst
re3-c3d7a73c0b699a82dec017b0391eb2f8fd90ab64.zip
Diffstat (limited to '')
-rw-r--r--src/core/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 5a31ad22..b39a9c8b 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -740,12 +740,14 @@ DisplayGameDebugText()
static bool bDisplayRate = false;
static bool bDisplayCheatStr = false;
+#ifndef FINAL
{
SETTWEAKPATH("GameDebugText");
TWEAKBOOL(bDisplayPosn);
TWEAKBOOL(bDisplayRate);
TWEAKBOOL(bDisplayCheatStr);
}
+#endif
char str[200];
@@ -1091,6 +1093,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());