mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-13 22:47:26 +01:00
Remove unneeded comment
This commit is contained in:
parent
e5c7de4939
commit
58f59f3832
@ -106,6 +106,7 @@ func newScreenImageImpl(width, height int) (*imageImpl, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (i *imageImpl) Fill(clr color.Color) error {
|
func (i *imageImpl) Fill(clr color.Color) error {
|
||||||
|
// TODO: Need to clone clr value
|
||||||
i.m.Lock()
|
i.m.Lock()
|
||||||
defer i.m.Unlock()
|
defer i.m.Unlock()
|
||||||
if i.disposed {
|
if i.disposed {
|
||||||
@ -219,9 +220,6 @@ func (i *imageImpl) resetPixelsIfDependingOn(target *imageImpl, context *opengl.
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
i.pixels.MakeStale()
|
i.pixels.MakeStale()
|
||||||
/*if !i.volatile {
|
|
||||||
return errors.New("test")
|
|
||||||
}*/
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user