mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-11 16:45:48 -04:00
enable double buffering on top screen to fix tearing
This commit is contained in:
parent
c27c0bd639
commit
cdab26b0a5
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user