mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix typo
This commit is contained in:
parent
13ae4ede72
commit
f8302a42d0
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ void window_sdl::setCursor(CursorShape shape) {
|
|||
}
|
||||
void window_sdl::toggleFullscreen() {
|
||||
fullscreen = !fullscreen;
|
||||
if (SDL_SetWindowFullscreen(window, fullscreen)) {
|
||||
if (!SDL_SetWindowFullscreen(window, fullscreen)) {
|
||||
logger.error() << "Cant toggle fullscreen window: " << SDL_GetError();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue