mirror of
https://github.com/yawut/SDL.git
synced 2026-09-08 17:16:19 -05:00
Fixes PSP_DestroyTexture release of data (don't release the SDL_Texture pointer)
This commit is contained in:
@@ -990,9 +990,9 @@ PSP_DestroyTexture(SDL_Renderer * renderer, SDL_Texture * texture)
|
||||
|
||||
if(psp_texture->data != 0)
|
||||
{
|
||||
free(psp_texture->data);
|
||||
SDL_free(psp_texture->data);
|
||||
}
|
||||
free(texture);
|
||||
SDL_free(psp_texture);
|
||||
texture->driverdata = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user