mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
doc: Fix comments
This commit is contained in:
parent
5699822d64
commit
76ad9cf42b
@ -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
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user