From a593d748dc67229cafcd69b8eebff0f3ade08fb8 Mon Sep 17 00:00:00 2001 From: payonel Date: Sun, 2 Jun 2019 01:55:44 -0700 Subject: [PATCH] bind(false) doesn't need to sleep > 0, there is still a balanced context cost with this change, and each bind() action behaves roughly the same from significant empirical testing closes #3062 --- src/main/scala/li/cil/oc/server/component/GraphicsCard.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/li/cil/oc/server/component/GraphicsCard.scala b/src/main/scala/li/cil/oc/server/component/GraphicsCard.scala index f38820ccc..e91b819da 100644 --- a/src/main/scala/li/cil/oc/server/component/GraphicsCard.scala +++ b/src/main/scala/li/cil/oc/server/component/GraphicsCard.scala @@ -101,7 +101,7 @@ class GraphicsCard(val tier: Int) extends AbstractManagedEnvironment with Device s.setForegroundColor(0xFFFFFF) s.setBackgroundColor(0x000000) } - else context.pause(0.2) // To discourage outputting "in realtime" to multiple screens using one GPU. + else context.pause(0) // To discourage outputting "in realtime" to multiple screens using one GPU. result(true) }) case _ => result(Unit, "not a screen")