mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebiten: Fix comments
This commit is contained in:
parent
388e2623e8
commit
0123c0676a
3
image.go
3
image.go
@ -118,6 +118,7 @@ func (i *Image) Fill(clr color.Color) error {
|
||||
// elements.
|
||||
// * All CompositeMode values are same
|
||||
// * All Filter values are same
|
||||
// * All Shader values are nil
|
||||
//
|
||||
// Even when all the above conditions are satisfied, multiple draw commands can
|
||||
// be used in really rare cases. Ebiten images usually share an internal
|
||||
@ -129,6 +130,8 @@ func (i *Image) Fill(clr color.Color) error {
|
||||
//
|
||||
// For more performance tips, see https://ebiten.org/documents/performancetips.html
|
||||
//
|
||||
// ColorM and Filter are ignored when Shader is not nil.
|
||||
//
|
||||
// DrawImage always returns nil as of 1.5.0.
|
||||
func (i *Image) DrawImage(img *Image, options *DrawImageOptions) error {
|
||||
i.copyCheck()
|
||||
|
Loading…
Reference in New Issue
Block a user