mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 23:35:55 +00:00
Query the frontend renderer to determine fullscreen-only limitations
This commit is contained in:
parent
ac947d3bda
commit
cedba501ee
@ -51,7 +51,7 @@ bool FFmpegVideoDecoder::isHardwareAccelerated()
|
||||
|
||||
bool FFmpegVideoDecoder::isAlwaysFullScreen()
|
||||
{
|
||||
return m_BackendRenderer->getRendererAttributes() & RENDERER_ATTRIBUTE_FULLSCREEN_ONLY;
|
||||
return m_FrontendRenderer->getRendererAttributes() & RENDERER_ATTRIBUTE_FULLSCREEN_ONLY;
|
||||
}
|
||||
|
||||
int FFmpegVideoDecoder::getDecoderCapabilities()
|
||||
|
Loading…
x
Reference in New Issue
Block a user