mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 23:13:09 +00:00
Another pass
This commit is contained in:
1 parent
fc1dd61c53
commit
d0acd5fdb0
51 files changed
+332
-312
No files matched your search
@@ -14,6 +14,7 @@ package vazkii.botania.client.fx;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import com.mojang.blaze3d.platform.GlStateManager;
|
||||
import net.minecraft.client.renderer.Tessellator;
|
||||
import net.minecraft.profiler.IProfiler;
|
||||
import net.minecraft.profiler.Profiler;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
@@ -30,7 +31,7 @@ public final class ParticleRenderDispatcher {
|
||||
public static void dispatch() {
|
||||
Tessellator tessellator = Tessellator.getInstance();
|
||||
|
||||
Profiler profiler = Minecraft.getInstance().profiler;
|
||||
IProfiler profiler = Minecraft.getInstance().getProfiler();
|
||||
|
||||
GL11.glPushAttrib(GL11.GL_LIGHTING_BIT);
|
||||
GlStateManager.depthMask(false);
|
||||
|
||||
Reference in new issue
Block a user