Create the SystemProperties test window on the main thread
This commit is contained in:
parent
05ef938e2c
commit
64fea80ac9
6 changed files with 89 additions and 60 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue