mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-27 11:25:41 +00:00
Fix OpenGL Z-write
# Conflicts: # src/core/main.cpp
This commit is contained in:
parent
dbc458a4d7
commit
c3d7a73c0b
1 changed files with 3 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue