SDL: Merge pull request #9961 from erysdren/psp-renderer-crash

From b867db4d5478a829bfebe9d16369c7cf8fa7730b Mon Sep 17 00:00:00 2001
From: erysdren <[EMAIL REDACTED]>
Date: Mon, 3 Jun 2024 17:33:51 -0500
Subject: [PATCH] SDL_render_psp.c: Fix crash in PSP_DestroyRenderer()

---
 src/render/psp/SDL_render_psp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/render/psp/SDL_render_psp.c b/src/render/psp/SDL_render_psp.c
index a786975ab5ce6..fbfda2c4eafc5 100644
--- a/src/render/psp/SDL_render_psp.c
+++ b/src/render/psp/SDL_render_psp.c
@@ -1261,8 +1261,6 @@ static void PSP_DestroyRenderer(SDL_Renderer *renderer)
             return;
         }
 
-        StartDrawing(renderer);
-
         sceKernelDisableSubIntr(PSP_VBLANK_INT, 0);
         sceKernelReleaseSubIntrHandler(PSP_VBLANK_INT, 0);
         sceDisplayWaitVblankStart();