Add high performance rendering mode which does not render the GUI every frame
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user