internal/atlas: bug fix: compile error

This commit is contained in:
Hajime Hoshi 2022-10-16 20:02:42 +09:00
parent 2855095ac9
commit 7c459c152b
2 changed files with 2 additions and 2 deletions

View File

@ -59,4 +59,4 @@ func (i *Image) EnsureIsolatedForTesting() {
i.ensureIsolated()
}
var ResolveDeferredForTesting = resolveDeferred
var FlushDeferredForTesting = flushDeferred

View File

@ -624,7 +624,7 @@ func TestDisposedAndReputOnAtlas(t *testing.T) {
src.MarkDisposed()
// Force to dispose the image.
atlas.ResolveDeferredForTesting()
atlas.FlushDeferredForTesting()
// Confirm that PutImagesOnAtlasForTesting doesn't panic.
if err := atlas.PutImagesOnAtlasForTesting(ui.GraphicsDriverForTesting()); err != nil {