Provide explanation for not performing RARCH_CMD_FULLSCREEN_TOGGLE

This commit is contained in:
twinaphex 2014-10-08 18:23:16 +02:00
parent 54d130838a
commit 1c3243d457

View File

@ -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;