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.
main
Sam Lantinga 2023-02-22 22:27:01 -08:00
parent bff307c4b2
commit c2f8a478d8
1 changed files with 0 additions and 2 deletions

View File

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