Prevent calling GameWindow::Update() outside the main thread. (#340)

This commit is contained in:
Skyth (Asilkan) authored and GitHub committed 2025-02-09 20:04:13 +03:00
1 parent 073065c6a6
commit b7cee84bda
1 file changed
+1 -1
+1 -1
View File
@@ -69,9 +69,9 @@ PPC_FUNC(sub_822C1130)
{
SDL_PumpEvents();
SDL_FlushEvents(SDL_FIRSTEVENT, SDL_LASTEVENT);
GameWindow::Update();
}
GameWindow::Update();
AudioPatches::Update(App::s_deltaTime);
InspirePatches::Update();