|
Size: 867
Comment: update content (w/ Sam); remove 'draft' note
|
Size: 734
Comment: update content (w/ Sam)
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 27: | Line 27: |
| This function sets the size for a windowed window. To change the size of a fullscreen window use [[SDL_SetWindowDisplayMode]]() instead. | ''You can add useful comments here'' |
| Line 31: | Line 31: |
| .[[SDL_SetWindowDisplayMode]] |
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 add useful comments here
