From 47d1eff45ddba0901e3eea8d1bbdf9bf790e5725 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 8 Sep 2023 19:53:01 -0500 Subject: [PATCH] Don't rasterize layers in fullscreen The original artifacting bug didn't manifest in fullscreen anyway. --- app/streaming/video/ffmpeg-renderers/vt.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/streaming/video/ffmpeg-renderers/vt.mm b/app/streaming/video/ffmpeg-renderers/vt.mm index 0457f201..e34b0c4c 100644 --- a/app/streaming/video/ffmpeg-renderers/vt.mm +++ b/app/streaming/video/ffmpeg-renderers/vt.mm @@ -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);