From 1073c97df98ac38102b6274310c2fc0ce4408fc9 Mon Sep 17 00:00:00 2001 From: Per Hultqvist Date: Sun, 10 Nov 2024 18:23:26 +0100 Subject: [PATCH] Small path fix --- .../{resources => }/DotGothic16-Regular.ttf | Bin examples/text/codepoints_loading/main.go | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename examples/text/codepoints_loading/{resources => }/DotGothic16-Regular.ttf (100%) diff --git a/examples/text/codepoints_loading/resources/DotGothic16-Regular.ttf b/examples/text/codepoints_loading/DotGothic16-Regular.ttf similarity index 100% rename from examples/text/codepoints_loading/resources/DotGothic16-Regular.ttf rename to examples/text/codepoints_loading/DotGothic16-Regular.ttf diff --git a/examples/text/codepoints_loading/main.go b/examples/text/codepoints_loading/main.go index c55fc9c..ecd1c56 100644 --- a/examples/text/codepoints_loading/main.go +++ b/examples/text/codepoints_loading/main.go @@ -42,7 +42,7 @@ func main() { // Load font containing all the provided codepoint glyphs // A texture font atlas is automatically generated - font := rl.LoadFontEx("resources/DotGothic16-Regular.ttf", 36, codepoints, int32(codepointsCount)) + font := rl.LoadFontEx("DotGothic16-Regular.ttf", 36, codepoints, int32(codepointsCount)) // Set bi-linear scale filter for better font scaling rl.SetTextureFilter(font.Texture, rl.FilterBilinear)