Skip to content

Commit e22dc78

Browse files
committed
ttf: sdl_ttf_test.go: Fix font path
Signed-off-by: Lilis Iskandar <[email protected]>
1 parent 8759fe0 commit e22dc78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ttf/sdl_ttf_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestTTF(t *testing.T) {
3030
t.Errorf("Failed to initialize TTF: %s\n", err)
3131
}
3232

33-
if font, err = OpenFont("../assets/test.ttf", 32); err != nil {
33+
if font, err = OpenFont("../.go-sdl2-examples/assets/test.ttf", 32); err != nil {
3434
t.Errorf("Failed to open font: %s\n", err)
3535
}
3636
defer font.Close()

0 commit comments

Comments
 (0)