mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +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 {
|
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")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user