Create the SystemProperties test window on the main thread

This commit is contained in:
Cameron Gutman
2026-01-25 17:10:04 -06:00
parent 05ef938e2c
commit 64fea80ac9
6 changed files with 89 additions and 60 deletions

View File

@@ -464,7 +464,7 @@ bool EGLRenderer::initialize(PDECODER_PARAMETERS params)
// to ensure we don't drop any important events.
session->flushWindowEvents();
}
else {
else if (!params->testOnly) {
// If we get here prior to the start of a session, just pump and flush ourselves.
SDL_PumpEvents();
SDL_FlushEvent(SDL_WINDOWEVENT);