gfx3d: add a default clear depth of maximum value (most distant) for games which never set it.
This commit is contained in:
parent
1b44158f75
commit
8ca0cddb7c
|
@ -344,6 +344,8 @@ void gfx3d_reset()
|
|||
memset(gfx3d_convertedScreen,0,sizeof(gfx3d_convertedScreen));
|
||||
memset(gfx3d_convertedAlpha,0,sizeof(gfx3d_convertedAlpha));
|
||||
|
||||
gfx3d.clearDepth = gfx3d_extendDepth_15_to_24(0x7FFF);
|
||||
|
||||
GFX_FIFOclear();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue