use full init syntax

This commit is contained in:
griffi-gh 2024-03-06 21:28:12 +01:00
parent d4151e6c76
commit abae9d25fc

View file

@ -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(),