mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-02 15:55:39 +00:00
Don't enable HDR checkbox if no HDR renderers work
This commit is contained in:
parent
3e9e497203
commit
de28eda266
@ -413,6 +413,11 @@ void Session::getDecoderInfo(SDL_Window* window,
|
|||||||
isHdrSupported = decoder->isHdrSupported();
|
isHdrSupported = decoder->isHdrSupported();
|
||||||
delete decoder;
|
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
|
// Try a regular hardware accelerated HEVC decoder now
|
||||||
|
Loading…
x
Reference in New Issue
Block a user