diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-09-26 20:38:37 +0200 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-09-26 20:38:37 +0200 |
commit | bb2e601e13bfdfae697cd0188604bb4481769285 (patch) | |
tree | 253fdf6bf532ffd362ad5fdeaac7dfddb43f1afe /src/core/main.cpp | |
parent | return bridge, crane and fix structures in fluff.h (diff) | |
parent | Fix coronas reflections (diff) | |
download | re3-bb2e601e13bfdfae697cd0188604bb4481769285.tar re3-bb2e601e13bfdfae697cd0188604bb4481769285.tar.gz re3-bb2e601e13bfdfae697cd0188604bb4481769285.tar.bz2 re3-bb2e601e13bfdfae697cd0188604bb4481769285.tar.lz re3-bb2e601e13bfdfae697cd0188604bb4481769285.tar.xz re3-bb2e601e13bfdfae697cd0188604bb4481769285.tar.zst re3-bb2e601e13bfdfae697cd0188604bb4481769285.zip |
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r-- | src/core/main.cpp | 3 |
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()); |