Automatically disable and re-enable Optifine's Fast Render setting before rendering a video

This commit is contained in:
CrushedPixel
2016-11-28 23:21:20 +01:00
committed by johni0702
parent 1fef12d2bd
commit 030c71c868
5 changed files with 97 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
package com.replaymod.compat;
import com.replaymod.compat.optifine.DisableFastRender;
import com.replaymod.compat.shaders.ShaderBeginRender;
import com.replaymod.core.ReplayMod;
import net.minecraftforge.fml.common.FMLCommonHandler;
@@ -18,6 +19,7 @@ public class ReplayModCompat {
public void init(FMLInitializationEvent event) {
EventBus bus = FMLCommonHandler.instance().bus();
bus.register(new ShaderBeginRender());
bus.register(new DisableFastRender());
}
}