mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-08 04:18:14 +00:00
Don't change presentation modes when resizing the logical target
Fixes https://github.com/libsdl-org/SDL/issues/7251
This commit is contained in:
@@ -4055,7 +4055,6 @@ static void SDL_DestroyTextureInternal(SDL_Texture *texture, SDL_bool is_destroy
|
||||
|
||||
if (texture == renderer->logical_target) {
|
||||
renderer->logical_target = NULL;
|
||||
renderer->logical_presentation_mode = SDL_LOGICAL_PRESENTATION_DISABLED;
|
||||
}
|
||||
|
||||
texture->magic = NULL;
|
||||
|
Reference in New Issue
Block a user