enable double buffering on top screen to fix tearing

This commit is contained in:
camthehaxman 2024-01-24 17:23:08 -06:00
parent c27c0bd639
commit cdab26b0a5

View File

@ -134,6 +134,7 @@ static void InitCitro3D(void) {
bottomTarget = C3D_RenderTargetCreate(240, 400, GPU_RB_RGBA8, GPU_RB_DEPTH24_STENCIL8);
C3D_RenderTargetSetOutput(bottomTarget, GFX_BOTTOM, GFX_LEFT, DISPLAY_TRANSFER_FLAGS);
gfxSetDoubleBuffering(GFX_TOP, true);
SetDefaultState();
AllocShaders();
}