mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
opengl: Fix a misspell
This commit is contained in:
parent
1fa76b89a3
commit
3004d4d7af
@ -156,7 +156,7 @@ func (c *Context) NewTexture(width, height int, pixels []uint8, filter Filter) (
|
||||
if err := c.RunOnContextThread(func() error {
|
||||
var t uint32
|
||||
gl.GenTextures(1, &t)
|
||||
// TOOD: Use gl.IsTexture
|
||||
// TODO: Use gl.IsTexture
|
||||
if t <= 0 {
|
||||
return errors.New("opengl: creating texture failed")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user