Update game_init.c (#592)

This commit is contained in:
Fazana
2023-03-08 14:34:43 +00:00
committed by GitHub
parent 81e1cb38da
commit c76c5824e3

View File

@@ -123,10 +123,7 @@ const Gfx init_rdp[] = {
gsDPSetRenderMode(G_RM_OPA_SURF, G_RM_OPA_SURF2),
gsDPSetColorDither(G_CD_MAGICSQ),
gsDPSetCycleType(G_CYC_FILL),
// #ifdef VERSION_SH
gsDPSetAlphaDither(G_AD_PATTERN),
// #endif
gsSPEndDisplayList(),
};
@@ -138,11 +135,7 @@ const Gfx init_rsp[] = {
gsSPClearGeometryMode(G_CULL_FRONT | G_FOG | G_LIGHTING | G_TEXTURE_GEN | G_TEXTURE_GEN_LINEAR | G_LOD),
gsSPSetGeometryMode(G_SHADE | G_SHADING_SMOOTH | G_CULL_BACK | G_LIGHTING),
gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_OFF),
// @bug Failing to set the clip ratio will result in warped triangles in F3DEX2
// without this change: https://jrra.zone/n64/doc/n64man/gsp/gSPClipRatio.htm
#ifdef F3DEX_GBI_2
gsSPClipRatio(FRUSTRATIO_1),
#endif
gsSPClipRatio(FRUSTRATIO_2),
gsSPEndDisplayList(),
};