|
Size: 842
Comment: update content - pointers, structs
|
Size: 838
Comment: update content - pointers, structs
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| ||'''window'''||the SDL_Window to change|| | ||'''window'''||the window to change|| |
SDL_SetWindowFullscreen
Use this function to set a window's fullscreen state.
Contents
Syntax
int SDL_SetWindowFullscreen(SDL_Window* window,
int fullscreen)
Function Parameters
window |
the window to change |
fullscreen |
1 for fullscreen or 0 for windowed |
Return Value
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
