Small path fix

This commit is contained in:
Per Hultqvist 2024-11-10 18:23:26 +01:00
parent 7e465e47e2
commit 1073c97df9
2 changed files with 1 additions and 1 deletions

View file

@ -42,7 +42,7 @@ func main() {
// Load font containing all the provided codepoint glyphs // Load font containing all the provided codepoint glyphs
// A texture font atlas is automatically generated // 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 // Set bi-linear scale filter for better font scaling
rl.SetTextureFilter(font.Texture, rl.FilterBilinear) rl.SetTextureFilter(font.Texture, rl.FilterBilinear)