mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 22:50:57 +00:00
Allow a renderer to opt-out of the render thread and use that for SDL on OGL
This commit is contained in:
@@ -296,6 +296,12 @@ public:
|
||||
return PACING_FORCE_ON;
|
||||
}
|
||||
|
||||
virtual bool isRenderThreadSupported() override
|
||||
{
|
||||
// renderFrame() may be called outside of the main thread
|
||||
return true;
|
||||
}
|
||||
|
||||
private:
|
||||
AVBufferRef* m_HwContext;
|
||||
AVSampleBufferDisplayLayer* m_DisplayLayer;
|
||||
|
||||
Reference in New Issue
Block a user