Browse Source

Don't change presentation modes when resizing the logical target

Fixes https://github.com/libsdl-org/SDL/issues/7251
Sam Lantinga 2 years ago
parent
commit
9d8f98c735
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/render/SDL_render.c

+ 0 - 1
src/render/SDL_render.c

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