mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/restorable: typo
This commit is contained in:
parent
9ef9ea0469
commit
26f0479f16
@ -167,7 +167,7 @@ func (i *images) resolveStaleImages(graphicsDriver graphicsdriver.Graphics) erro
|
|||||||
// makeStaleIfDependingOn makes all the images stale that depend on src.
|
// makeStaleIfDependingOn makes all the images stale that depend on src.
|
||||||
//
|
//
|
||||||
// When src is modified, all images depending on src can't be restored with src.
|
// When src is modified, all images depending on src can't be restored with src.
|
||||||
// makeStaleIfDependingOn is called in such situation.src.
|
// makeStaleIfDependingOn is called in such situation.
|
||||||
func (i *images) makeStaleIfDependingOn(src *Image) {
|
func (i *images) makeStaleIfDependingOn(src *Image) {
|
||||||
if src == nil {
|
if src == nil {
|
||||||
panic("restorable: src must not be nil at makeStaleIfDependingOn")
|
panic("restorable: src must not be nil at makeStaleIfDependingOn")
|
||||||
|
Loading…
Reference in New Issue
Block a user