Don't rasterize layers in fullscreen

The original artifacting bug didn't manifest in fullscreen anyway.
This commit is contained in:
Cameron Gutman 2023-09-08 19:53:01 -05:00
parent a97f6d90f4
commit 47d1eff45d

View file

@ -466,7 +466,7 @@ public:
//
// https://github.com/moonlight-stream/moonlight-qt/issues/493
// https://github.com/moonlight-stream/moonlight-qt/issues/722
if (!(params->videoFormat & VIDEO_FORMAT_MASK_10BIT)) {
if (!(params->videoFormat & VIDEO_FORMAT_MASK_10BIT) && (SDL_GetWindowFlags(params->window) & SDL_WINDOW_FULLSCREEN_DESKTOP) != SDL_WINDOW_FULLSCREEN) {
int err;
uint32_t cpuType;
size_t size = sizeof(cpuType);