From 85ec8df827f0e6efa0f249deb4ba1d6e576b6d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Wed, 2 Oct 2024 12:04:54 +0200 Subject: [PATCH] macOS: Reflect QWindow's color space after creation If an explicit color space has been set, we assume that we can apply that to the CAMetalLayer or IOSurface we use when blitting our content. If not we want to reflect the NSWindow's color space, which will in turn reflect the NSScreen color space. Task-number: QTBUG-129499 Change-Id: Idc465af39dafc80be0edd014abc55eb501ae1f89 Reviewed-by: Allan Sandfeld Jensen (cherry picked from commit a3a691c5a359ad1c3f76248c270273ec13fe96fd) Reviewed-by: Qt Cherry-pick Bot