Add in a check to the splash screen. If the Display.update call takes

too long on average (over first 200 frames) we'll use a sleep based
timer to allow mods doing splash screen work some time on the
LWJGL global lock.

(cherry picked from commit 03d7eaa)
This commit is contained in:
cpw committed 2017-04-10 08:33:01 -04:00
1 parent 69b72201ac
commit cec90d7f48
6 files changed
+52 -5

No files matched your search

@@ -349,4 +349,10 @@ public class FMLServerHandler implements IFMLSidedHandler
{
return (CompoundDataFixer)this.server.getDataFixer();
}
@Override
public boolean isDisplayVSyncForced()
{
return false;
}
}