Remove unneeded comment

This commit is contained in:
Hajime Hoshi 2016-08-21 02:21:25 +09:00
parent e5c7de4939
commit 58f59f3832

View File

@ -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
} }