The Window constructor uses SDL.SDL_GetWindowSize:
|
SDL.SDL_GetWindowSize(Handle, out var width, out var height); |
Yet UpdateSize uses SDL.SDL_GetWindowSizeInPixels:
|
SDL.SDL_GetWindowSizeInPixels(Handle, out var w, out var h); |
I feel like UpdateSize should be changed to use SDL.SDL_GetWindowSize, for consistency.
And because there's no "InPixels" equivalent to SDL.SDL_SetWindowSize, which is called by Window.SetSize.
The
Windowconstructor usesSDL.SDL_GetWindowSize:MoonWorks/src/Window.cs
Line 98 in bd841cb
Yet
UpdateSizeusesSDL.SDL_GetWindowSizeInPixels:MoonWorks/src/Window.cs
Line 232 in bd841cb
I feel like
UpdateSizeshould be changed to useSDL.SDL_GetWindowSize, for consistency.And because there's no "InPixels" equivalent to
SDL.SDL_SetWindowSize, which is called byWindow.SetSize.