Skip to content

Commit 82901b8

Browse files
committed
examples: text: text.go: Update API
Signed-off-by: Lilis Iskandar <[email protected]>
1 parent d62c2af commit 82901b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/text/text.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func run() int {
3737
}
3838
defer font.Close()
3939

40-
if solid, err = font.RenderUTF8_Solid("Hello, World!", sdl.Color{255, 0, 0, 255}); err != nil {
40+
if solid, err = font.RenderUTF8Solid("Hello, World!", sdl.Color{255, 0, 0, 255}); err != nil {
4141
fmt.Fprint(os.Stderr, "Failed to render text: %s\n", err)
4242
return 5
4343
}

0 commit comments

Comments
 (0)