Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for Angelica #101

Merged
merged 2 commits into from
Nov 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/main/java/tconstruct/client/BlockSkinRenderHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
import net.minecraft.world.IBlockAccess;
import net.minecraftforge.fluids.FluidRegistry;

import org.lwjgl.opengl.GL11;

public class BlockSkinRenderHelper {

public static boolean renderMetadataBlock(Block block, int metadata, int x, int y, int z, RenderBlocks renderer,
Expand Down Expand Up @@ -989,9 +987,6 @@ public static boolean renderLiquidBlock(IIcon stillIcon, IIcon flowingIcon, int
boolean raf = renderer.renderAllFaces;
renderer.renderAllFaces = true;

// alpha blending etc.
GL11.glPushAttrib(GL11.GL_COLOR_BUFFER_BIT);

boolean ret;
if (Minecraft.isAmbientOcclusionEnabled()) ret = renderFakeBlockWithAmbientOcclusion(
stillIcon,
Expand All @@ -1016,8 +1011,6 @@ public static boolean renderLiquidBlock(IIcon stillIcon, IIcon flowingIcon, int
renderer,
world);

GL11.glPopAttrib();

renderer.renderAllFaces = raf;
return ret;
}
Expand Down