mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-18 10:48:28 +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:
parent
6f0acca8bd
commit
9d8f98c735
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue