From ff7c147ddeecd3f5c0af8bfb4e089376ec50a55d Mon Sep 17 00:00:00 2001 From: mocenigo Date: Tue, 1 Dec 2026 00:40:02 +0100 Subject: [PATCH] macOS: the window keeps its colours while it is resized wgpu-hal 30.0.1 set the Metal layer's colour space to nil each time the surface was configured, which egui does on every resize event. Until the next frame tagged the layer sRGB again, macOS showed the canvas untagged, in the display's own gamut, so the background changed shade while the window was resized and could stay so when it stopped. wgpu-hal 30.0.2 tags the layer sRGB when it configures the surface (gfx-rs/wgpu#10013). --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 772196967a..3b20a522f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9756,9 +9756,9 @@ dependencies = [ [[package]] name = "wgpu-hal" -version = "30.0.1" +version = "30.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6b7fb58561a792bc237628ba0792e332de418fefe145f13b5ed8201e6d52f58" +checksum = "a57452fe453658e141aafdb09de1028afa498805fab518238ddf372a518813ff" dependencies = [ "android_system_properties", "arrayvec",