mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
ebiten: Add comments
This commit is contained in:
parent
c7330883ef
commit
170ddd70a5
2
image.go
2
image.go
@ -699,6 +699,8 @@ func (i *Image) Set(x, y int, clr color.Color) {
|
|||||||
// Calling Dispose is not mandatory. GC automatically collects internal resources that no objects refer to.
|
// Calling Dispose is not mandatory. GC automatically collects internal resources that no objects refer to.
|
||||||
// However, calling Dispose explicitly is helpful if memory usage matters.
|
// However, calling Dispose explicitly is helpful if memory usage matters.
|
||||||
//
|
//
|
||||||
|
// If the image is a sub-image, Dispose does nothing.
|
||||||
|
//
|
||||||
// When the image is disposed, Dipose does nothing.
|
// When the image is disposed, Dipose does nothing.
|
||||||
func (i *Image) Dispose() {
|
func (i *Image) Dispose() {
|
||||||
i.copyCheck()
|
i.copyCheck()
|
||||||
|
Loading…
Reference in New Issue
Block a user