Use system path for font

This commit is contained in:
hodasemi 2023-01-18 12:04:19 +01:00
parent c569cd2e64
commit be9f93ec3c

View file

@ -142,8 +142,8 @@ impl Overlay {
// only font is used
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("/opt/sata_ssd/Workspace/vk_layer_rs/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.assume_prefix_free();
// required to not crash