Query the frontend renderer to determine fullscreen-only limitations

This commit is contained in:
Cameron Gutman 2021-01-30 17:57:34 -06:00
parent ac947d3bda
commit cedba501ee

View File

@ -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()