mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-04 16:28:00 +01:00
ToggleFullscreen: log whether fullscreen is being toggled on or off
This commit is contained in:
parent
3a0b8a706a
commit
09c8506b37
1 changed files with 1 additions and 1 deletions
|
@ -698,7 +698,7 @@ SYMBOL_EXPORT bool ToggleFullscreen(struct Game* game) {
|
|||
#endif
|
||||
al_set_display_flag(game->display, ALLEGRO_FULLSCREEN_WINDOW, game->config.fullscreen);
|
||||
SetupViewport(game);
|
||||
PrintConsole(game, "Fullscreen toggled");
|
||||
PrintConsole(game, "Fullscreen toggled: %s", game->config.fullscreen ? "on" : "off");
|
||||
return game->config.fullscreen;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue