mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Provide explanation for not performing RARCH_CMD_FULLSCREEN_TOGGLE
This commit is contained in:
parent
54d130838a
commit
1c3243d457
@ -2606,11 +2606,11 @@ bool rarch_main_command(unsigned cmd)
|
||||
case RARCH_CMD_FULLSCREEN_TOGGLE:
|
||||
if (!driver.video)
|
||||
return false;
|
||||
/* If video driver/context does not support windowed
|
||||
* mode, don't perform command. */
|
||||
if (!driver.video->has_windowed(driver.video_data))
|
||||
return false;
|
||||
|
||||
RARCH_LOG("Gets here mothafuckah!\n");
|
||||
|
||||
/* If we go fullscreen we drop all drivers and
|
||||
* reinitialize to be safe. */
|
||||
g_settings.video.fullscreen = !g_settings.video.fullscreen;
|
||||
|
Loading…
x
Reference in New Issue
Block a user