mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 05:34:17 +00:00
Don't enable HDR checkbox if no HDR renderers work
This commit is contained in:
parent
3e9e497203
commit
de28eda266
1 changed files with 5 additions and 0 deletions
|
@ -413,6 +413,11 @@ void Session::getDecoderInfo(SDL_Window* window,
|
|||
isHdrSupported = decoder->isHdrSupported();
|
||||
delete decoder;
|
||||
}
|
||||
else {
|
||||
// We weren't compiled with an HDR-capable renderer or we don't
|
||||
// have the required GPU driver support for any HDR renderers.
|
||||
isHdrSupported = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Try a regular hardware accelerated HEVC decoder now
|
||||
|
|
Loading…
Reference in a new issue