mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57: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 {
|
||||
// TODO: Need to clone clr value
|
||||
i.m.Lock()
|
||||
defer i.m.Unlock()
|
||||
if i.disposed {
|
||||
@ -219,9 +220,6 @@ func (i *imageImpl) resetPixelsIfDependingOn(target *imageImpl, context *opengl.
|
||||
return nil
|
||||
}
|
||||
i.pixels.MakeStale()
|
||||
/*if !i.volatile {
|
||||
return errors.New("test")
|
||||
}*/
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user