doc: Fix comments

This commit is contained in:
Hajime Hoshi 2017-05-03 00:10:23 +09:00
parent 5699822d64
commit 76ad9cf42b
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ type CompositeMode int
// This name convention follows CSS compositing: https://drafts.fxtf.org/compositing-2/.
//
// In the above comments,
// In the comments,
// c_src, c_dst and c_out represent alpha-premultiplied RGB values of source, destination and output respectively. α_src and α_dst represent alpha values of source and destination respectively.
const (
// Regular alpha blending

View File

@ -202,7 +202,7 @@ func (p *Image) HasDependency() bool {
return p.drawImageHistory != nil
}
// RestoreImage restores *graphics.Image from the pixels using its state.
// Restore restores *graphics.Image from the pixels using its state.
func (p *Image) Restore(context *opengl.Context) error {
w, h := p.image.Size()
if p.screen {