diff --git a/src/Window/OSWindow.cs b/src/Window/OSWindow.cs index ecdecb58..4db80654 100644 --- a/src/Window/OSWindow.cs +++ b/src/Window/OSWindow.cs @@ -48,5 +48,16 @@ namespace MoonWorks.Window SDL.SDL_SetWindowFullscreen(Handle, (uint) windowFlag); } + + /// + /// Resizes the window. + /// Note that you are responsible for recreating any graphics resources that need to change as a result of the size change. + /// + /// + /// + public void SetWindowSize(uint width, uint height) + { + SDL.SDL_SetWindowSize(Handle, (int)width, (int)height); + } } }