mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 22:50:57 +00:00
Create the SystemProperties test window on the main thread
This commit is contained in:
@@ -100,11 +100,11 @@ public:
|
||||
|
||||
if (m_DisplayLayer != nullptr) {
|
||||
[m_DisplayLayer release];
|
||||
}
|
||||
|
||||
// It appears to be necessary to run the event loop after destroying
|
||||
// the AVSampleBufferDisplayLayer to avoid issue #973.
|
||||
SDL_PumpEvents();
|
||||
// It appears to be necessary to run the event loop after destroying
|
||||
// the AVSampleBufferDisplayLayer to avoid issue #973.
|
||||
SDL_PumpEvents();
|
||||
}
|
||||
}}
|
||||
|
||||
static
|
||||
@@ -333,7 +333,7 @@ public:
|
||||
}
|
||||
|
||||
// If we're using direct rendering, set up the AVSampleBufferDisplayLayer
|
||||
if (m_DirectRendering) {
|
||||
if (m_DirectRendering && !params->testOnly) {
|
||||
SDL_SysWMinfo info;
|
||||
|
||||
SDL_VERSION(&info.version);
|
||||
|
||||
Reference in New Issue
Block a user