Browse Source

Don't set a logical presentation mode by default

SDL3 applications are DPI aware by default, and can set the logical presentation mode as appropriate.
Sam Lantinga 2 years ago
parent
commit
c2f8a478d8
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/render/SDL_render.c

+ 0 - 2
src/render/SDL_render.c

@@ -925,8 +925,6 @@ SDL_Renderer *SDL_CreateRenderer(SDL_Window *window, const char *name, Uint32 fl
 
     SDL_SetRenderViewport(renderer, NULL);
 
-    SDL_SetRenderLogicalPresentation(renderer, 0, 0, SDL_LOGICAL_PRESENTATION_MATCH, SDL_SCALEMODE_LINEAR);
-
     SDL_AddEventWatch(SDL_RendererEventWatch, renderer);
 
     SDL_LogInfo(SDL_LOG_CATEGORY_RENDER,