mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-11-02 04:32:41 +08:00
Remove TODOs
This commit is contained in:
@@ -76,7 +76,6 @@ func (c *Context) TexturePixels(t Texture, width, height int) ([]uint8, error) {
|
||||
gl.Texture(t).Bind(gl.TEXTURE_2D)
|
||||
gl.GetTexImage(gl.TEXTURE_2D, 0, gl.RGBA, gl.UNSIGNED_BYTE, pixels)
|
||||
if e := gl.GetError(); e != gl.NO_ERROR {
|
||||
// TODO: Use glu.ErrorString
|
||||
return nil, errors.New(fmt.Sprintf("gl error: %d", e))
|
||||
}
|
||||
return pixels, nil
|
||||
|
Reference in New Issue
Block a user