From 88d4bcaa46268b5eea1eeb309233494cdc9f6e92 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 90824d085..b25316e19 100644 --- a/src/main/scala/li/cil/oc/server/component/GraphicsCard.scala +++ b/src/main/scala/li/cil/oc/server/component/GraphicsCard.scala @@ -100,7 +100,7 @@ class GraphicsCard(val tier: Int) extends prefab.ManagedEnvironment with DeviceI 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")