opengl: Fix a misspell

This commit is contained in:
Hajime Hoshi 2016-06-28 02:53:35 +09:00
parent 1fa76b89a3
commit 3004d4d7af

View File

@ -156,7 +156,7 @@ func (c *Context) NewTexture(width, height int, pixels []uint8, filter Filter) (
if err := c.RunOnContextThread(func() error { if err := c.RunOnContextThread(func() error {
var t uint32 var t uint32
gl.GenTextures(1, &t) gl.GenTextures(1, &t)
// TOOD: Use gl.IsTexture // TODO: Use gl.IsTexture
if t <= 0 { if t <= 0 {
return errors.New("opengl: creating texture failed") return errors.New("opengl: creating texture failed")
} }