mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-03 00:06:09 +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()
|
bool FFmpegVideoDecoder::isAlwaysFullScreen()
|
||||||
{
|
{
|
||||||
return m_BackendRenderer->getRendererAttributes() & RENDERER_ATTRIBUTE_FULLSCREEN_ONLY;
|
return m_FrontendRenderer->getRendererAttributes() & RENDERER_ATTRIBUTE_FULLSCREEN_ONLY;
|
||||||
}
|
}
|
||||||
|
|
||||||
int FFmpegVideoDecoder::getDecoderCapabilities()
|
int FFmpegVideoDecoder::getDecoderCapabilities()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user