SDL: [PSP] Don't swizzle streaming textures

From 66ee79bd68335b9725fd94defc3e5ac5ff3c4249 Mon Sep 17 00:00:00 2001
From: Wouter Wijsman <[EMAIL REDACTED]>
Date: Mon, 14 Feb 2022 10:59:25 +0100
Subject: [PATCH] [PSP] Don't swizzle streaming textures

It was causing issues in the teststreaming demo and unswizzling
later is inefficient and causes issues.
---
 src/render/psp/SDL_render_psp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/render/psp/SDL_render_psp.c b/src/render/psp/SDL_render_psp.c
index 3cd9c78103f..904fb2c0879 100644
--- a/src/render/psp/SDL_render_psp.c
+++ b/src/render/psp/SDL_render_psp.c
@@ -556,7 +556,8 @@ static int
 TextureShouldSwizzle(PSP_TextureData* psp_texture, SDL_Texture *texture)
 {
     return !((texture->access == SDL_TEXTUREACCESS_TARGET) && InVram(psp_texture->data))
-             && (texture->w >= 16 || texture->h >= 16);
+            && texture->access != SDL_TEXTUREACCESS_STREAMING
+            && (texture->w >= 16 || texture->h >= 16);
 }
 
 static void