Skip to content

Commit 16810a1

Browse files
committed
Fast clear
1 parent 22e9495 commit 16810a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/render/psp/SDL_render_psp.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,8 +813,7 @@ static inline int PSP_RenderClear(SDL_Renderer *renderer, SDL_RenderCommand *cmd
813813
colorA = cmd->data.color.a;
814814

815815
sceGuClearColor(GU_RGBA(colorR, colorG, colorB, colorA));
816-
sceGuClearDepth(0);
817-
sceGuClear(GU_COLOR_BUFFER_BIT|GU_DEPTH_BUFFER_BIT);
816+
sceGuClear(GU_FAST_CLEAR_BIT|GU_COLOR_BUFFER_BIT);
818817

819818
return 0;
820819
}

0 commit comments

Comments
 (0)