gfx3d: add a default clear depth of maximum value (most distant) for games which never set it.

This commit is contained in:
zeromus 2009-06-24 05:17:32 +00:00
parent 1b44158f75
commit 8ca0cddb7c
1 changed files with 2 additions and 0 deletions

View File

@ -343,6 +343,8 @@ void gfx3d_reset()
memset(gfx3d_convertedScreen,0,sizeof(gfx3d_convertedScreen)); memset(gfx3d_convertedScreen,0,sizeof(gfx3d_convertedScreen));
memset(gfx3d_convertedAlpha,0,sizeof(gfx3d_convertedAlpha)); memset(gfx3d_convertedAlpha,0,sizeof(gfx3d_convertedAlpha));
gfx3d.clearDepth = gfx3d_extendDepth_15_to_24(0x7FFF);
GFX_FIFOclear(); GFX_FIFOclear();
} }