mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
internal/atlas: bug fix: compile error
This commit is contained in:
parent
2855095ac9
commit
7c459c152b
@ -59,4 +59,4 @@ func (i *Image) EnsureIsolatedForTesting() {
|
||||
i.ensureIsolated()
|
||||
}
|
||||
|
||||
var ResolveDeferredForTesting = resolveDeferred
|
||||
var FlushDeferredForTesting = flushDeferred
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user