void SaveScreenShot() { const bool bPaused = (GetState() == CORE_PAUSE); SetState(CORE_PAUSE); g_video_backend->Video_Screenshot(GenerateScreenshotName()); if (!bPaused) SetState(CORE_RUN); }
void SaveScreenShot() { const bool bPaused = (GetState() == CORE_PAUSE); SetState(CORE_PAUSE); Renderer::SetScreenshot(GenerateScreenshotName()); if (!bPaused) SetState(CORE_RUN); }