ref_gu: updated initial GU settings

This commit is contained in:
Crow-bar
2022-10-20 16:54:06 +03:00
parent 89ee68d5d0
commit d6d8ee3e57

View File

@@ -140,7 +140,7 @@ static void GU_Init( void )
// Xash default
sceGuClearColor( GU_COLOR( 0.5f, 0.5f, 0.5f, 1.0f ) );
sceGuDisable( GU_DEPTH_TEST );
sceGuEnable( GU_DEPTH_TEST );
sceGuDisable( GU_CULL_FACE );
sceGuEnable( GU_CLIP_PLANES );
sceGuDepthFunc( GU_LEQUAL );
@@ -165,7 +165,7 @@ static void GU_Init( void )
sceGuAlphaFunc( GU_GREATER, DEFAULT_ALPHATEST, 0xff );
sceGuEnable( GU_TEXTURE_2D );
sceGuShadeModel( GU_SMOOTH );
sceGuFrontFace( GU_CW ); // reversed
sceGuFrontFace( GU_CCW );
// Set the default matrices.
sceGumMatrixMode( GU_PROJECTION );