mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-07 18:36:26 +00:00
[PSP] Don't swizzle streaming textures
It was causing issues in the teststreaming demo and unswizzling later is inefficient and causes issues.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user