Screenshot code cleanup, fix issue where the notification would be in a second fast screenshot

Fixes #22497
This commit is contained in:
Henrik Rydgård committed 2026-10-11 10:56:43 +02:00
1 parent c51daff839
commit 7572ac05ca
7 files changed
+9 -16

No files matched your search

-2
View File
@@ -184,8 +184,6 @@ void SaveFrameDump();
ScreenManager *g_screenManager;
std::string config_filename;
// Really need to clean this mess of globals up... but instead I add more :P
bool g_TakeScreenshot;
static bool resized = false;
static int renderCounter = 0;