mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
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.
This commit is contained in:
parent
bff307c4b2
commit
c2f8a478d8
1 changed files with 0 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue