Procházet zdrojové kódy

Don't change presentation modes when resizing the logical target

Fixes https://github.com/libsdl-org/SDL/issues/7251
Sam Lantinga před 3 roky
rodič
revize
9d8f98c735
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  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) {
     if (texture == renderer->logical_target) {
         renderer->logical_target = NULL;
         renderer->logical_target = NULL;
-        renderer->logical_presentation_mode = SDL_LOGICAL_PRESENTATION_DISABLED;
     }
     }
 
 
     texture->magic = NULL;
     texture->magic = NULL;