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

This commit is contained in:
Skyth (Asilkan) 2025-02-09 20:04:13 +03:00 committed by GitHub
parent 073065c6a6
commit b7cee84bda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();