Use system path for font
This commit is contained in:
parent
c569cd2e64
commit
be9f93ec3c
1 changed files with 2 additions and 2 deletions
|
@ -142,8 +142,8 @@ impl Overlay {
|
||||||
// only font is used
|
// only font is used
|
||||||
let mut create_info = GuiHandlerCreateInfo::default();
|
let mut create_info = GuiHandlerCreateInfo::default();
|
||||||
|
|
||||||
// create_info.font_path = AssetPath::from("/usr/share/vulkan_rf2_layer/font.png");
|
create_info.font_path = AssetPath::from("/usr/share/vulkan_rf2_layer/font.png");
|
||||||
create_info.font_path = AssetPath::from("/opt/sata_ssd/Workspace/vk_layer_rs/font.png");
|
// create_info.font_path = AssetPath::from("/opt/sata_ssd/Workspace/vk_layer_rs/font.png");
|
||||||
create_info.font_path.assume_prefix_free();
|
create_info.font_path.assume_prefix_free();
|
||||||
|
|
||||||
// required to not crash
|
// required to not crash
|
||||||
|
|
Loading…
Reference in a new issue