|
Size: 879
Comment: update WindowID > Window*
|
Size: 863
Comment: update content for consistency
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 18: | Line 18: |
| ||'''window'''||the type used to identify the window|| | ||'''window'''||the window to change|| |
DRAFT |
SDL_SetWindowSize
Use this function to set the size of the window's client area.
Syntax
void SDL_SetWindowSize(SDL_Window* window,
int w,
int h)
Function Parameters
window |
the window to change |
w |
the width of the window in pixels |
h |
the height of the window in pixels |
Code Examples
You can add your code example here
Remarks
You can't change the size of a fullscreen window, it automatically matches the size of the display mode.
