mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-22 15:18:43 -06:00
use full init syntax
This commit is contained in:
parent
b9f58285da
commit
507eff3f8f
|
@ -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