Set the size of a window's client area, in screen coordinates.
int SDL_SetWindowSize(SDL_Window *window, int w, int h);
|window||the window to change|
|w||the width of the window, must be > 0|
|h||the height of the window, must be > 0|
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
The window size in screen coordinates may differ from the size in pixels if the window is on a high density display (one with an OS scaling factor).
This only affects the size of the window when not in fullscreen mode. To change the fullscreen mode of a window, use SDL_SetWindowFullscreenMode()
This function is available since SDL 3.0.0.