mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 13:32:45 -05:00
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).
This commit is contained in:
1 parent
b8470d947f
commit
ff7c147dde
1 file changed
+2
-2
Generated
+2
-2
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user