From 507eff3f8f40afe5e09889c41dd4d7167f7a92c3 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Wed, 6 Mar 2024 21:28:12 +0100 Subject: [PATCH] use full init syntax --- hui/src/instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hui/src/instance.rs b/hui/src/instance.rs index c5f88f9..c5312dd 100644 --- a/hui/src/instance.rs +++ b/hui/src/instance.rs @@ -45,7 +45,7 @@ impl UiInstance { atlas: { let mut atlas = TextureAtlasManager::default(); //HACK: Ensure that vec(0, 0) uv is white square - atlas.add_grayscale(1, &[255]); + atlas.add(1, &[255, 255, 255, 255]); atlas }, events: EventQueue::new(),