Add high performance rendering mode which does not render the GUI every frame

This commit is contained in:
johni0702
2015-07-16 16:18:26 +02:00
parent cbdaff9e41
commit 787942aef2
3 changed files with 9 additions and 1 deletions

View File

@@ -115,7 +115,9 @@ public class VideoRenderer implements RenderInfo {
@Override
public float updateForNextFrame() {
drawGui();
if (!options.isHighPerformance() || framesDone % fps == 0) {
drawGui();
}
updateTime(mc.timer, framesDone);