Skip to content

Commit

Permalink
examples: text: text.go: Update API
Browse files Browse the repository at this point in the history
Signed-off-by: Lilis Iskandar <lilis@veand.co>
  • Loading branch information
veeableful committed Nov 21, 2017
1 parent d62c2af commit 82901b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/text/text.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func run() int {
}
defer font.Close()

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

0 comments on commit 82901b8

Please sign in to comment.