[PSP] Don't swizzle streaming textures

It was causing issues in the teststreaming demo and unswizzling
later is inefficient and causes issues.
main
Wouter Wijsman 2022-02-14 10:59:25 +01:00
parent f97a29f6e1
commit 66ee79bd68
1 changed files with 2 additions and 1 deletions

View File

@ -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