From be9f93ec3cb2ebc7b72780d195c3f3543cba71fb Mon Sep 17 00:00:00 2001 From: hodasemi Date: Wed, 18 Jan 2023 12:04:19 +0100 Subject: [PATCH] Use system path for font --- src/overlay/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/overlay/mod.rs b/src/overlay/mod.rs index 89e9be4..328371d 100644 --- a/src/overlay/mod.rs +++ b/src/overlay/mod.rs @@ -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