mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-12-22 12:28:19 -06:00
use full init syntax
This commit is contained in:
parent
d4151e6c76
commit
abae9d25fc
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue