|
Size: 910
Comment: update content - 2/28 5421 (2/10 5246)
|
Size: 849
Comment: update content - w/ Sam; remove draft
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 18: | Line 17: |
| ||'''fullscreen'''||^SDL_TRUE^ for fullscreen or ^SDL_FALSE^ for windowed|| | ||'''fullscreen'''||SDL_TRUE for fullscreen or SDL_FALSE for windowed|| |
SDL_SetWindowFullscreen
Use this function to set a window's fullscreen state.
Contents
Syntax
int SDL_SetWindowFullscreen(SDL_Window* window,
SDL_bool fullscreen)
Function Parameters
window |
the window to change |
fullscreen |
SDL_TRUE for fullscreen or SDL_FALSE 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
