Don't change presentation modes when resizing the logical target

Fixes https://github.com/libsdl-org/SDL/issues/7251
This commit is contained in:
Sam Lantinga 2023-02-06 08:51:58 -08:00
parent 6f0acca8bd
commit 9d8f98c735

View file

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