diff --git a/indigo/indigo-extras/src/test/scala/indigoextras/ui/InputFieldTests.scala b/indigo/indigo-extras/src/test/scala/indigoextras/ui/InputFieldTests.scala index 81f96cec9..f50597c12 100644 --- a/indigo/indigo-extras/src/test/scala/indigoextras/ui/InputFieldTests.scala +++ b/indigo/indigo-extras/src/test/scala/indigoextras/ui/InputFieldTests.scala @@ -283,7 +283,7 @@ class InputFieldTests extends munit.FunSuite { new InputState(Mouse.default, new Keyboard(keysUp, Batch.empty, None), Gamepad.default, Pointers.default), new BoundaryLocator(new AnimationsRegister, new FontRegister, new DynamicText), (), - Renderer.blackHole + Renderer.blackHole.captureScreen ) object Samples { diff --git a/indigo/indigo/src/test/scala/indigo/scenes/FakeFrameContext.scala b/indigo/indigo/src/test/scala/indigo/scenes/FakeFrameContext.scala index f4d720250..0ddc97ac8 100644 --- a/indigo/indigo/src/test/scala/indigo/scenes/FakeFrameContext.scala +++ b/indigo/indigo/src/test/scala/indigo/scenes/FakeFrameContext.scala @@ -20,7 +20,7 @@ object FakeFrameContext { InputState.default, new BoundaryLocator(new AnimationsRegister, new FontRegister, new DynamicText), (), - Renderer.blackHole + Renderer.blackHole.captureScreen ) def context(sides: Int, time: Seconds): FrameContext[Unit] = @@ -30,7 +30,7 @@ object FakeFrameContext { InputState.default, new BoundaryLocator(new AnimationsRegister, new FontRegister, new DynamicText), (), - Renderer.blackHole + Renderer.blackHole.captureScreen ) def context(sides: Int, time: Seconds, delta: Seconds): FrameContext[Unit] = @@ -40,7 +40,7 @@ object FakeFrameContext { InputState.default, new BoundaryLocator(new AnimationsRegister, new FontRegister, new DynamicText), (), - Renderer.blackHole + Renderer.blackHole.captureScreen ) }