mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-22 07:08:42 -06:00
use full init syntax
This commit is contained in:
parent
d4151e6c76
commit
abae9d25fc
|
@ -45,7 +45,7 @@ impl UiInstance {
|
||||||
atlas: {
|
atlas: {
|
||||||
let mut atlas = TextureAtlasManager::default();
|
let mut atlas = TextureAtlasManager::default();
|
||||||
//HACK: Ensure that vec(0, 0) uv is white square
|
//HACK: Ensure that vec(0, 0) uv is white square
|
||||||
atlas.add_grayscale(1, &[255]);
|
atlas.add(1, &[255, 255, 255, 255]);
|
||||||
atlas
|
atlas
|
||||||
},
|
},
|
||||||
events: EventQueue::new(),
|
events: EventQueue::new(),
|
||||||
|
|
Loading…
Reference in a new issue