aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-12-22 21:59:29 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-12-22 21:59:29 +0800
commit73e3e7465ab2888f869bf805c266e748eced4c4a (patch)
tree7c1df20f6baf995728e14471c03b81f9994ce2e2 /utils
parent40fe8ba729128f03bc394034f2d62ffcac3542ec (diff)
downloadSoopyV2-73e3e7465ab2888f869bf805c266e748eced4c4a.tar.gz
SoopyV2-73e3e7465ab2888f869bf805c266e748eced4c4a.tar.bz2
SoopyV2-73e3e7465ab2888f869bf805c266e748eced4c4a.zip
readability change
Diffstat (limited to 'utils')
-rw-r--r--utils/renderUtils.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/renderUtils.js b/utils/renderUtils.js
index 216364e..956df0b 100644
--- a/utils/renderUtils.js
+++ b/utils/renderUtils.js
@@ -1,3 +1,4 @@
+const { f, m } = require("../../mappings/mappings");
const GlStateManager = Java.type("net.minecraft.client.renderer.GlStateManager");
const GL11 = Java.type("org.lwjgl.opengl.GL11");
@@ -135,7 +136,7 @@ module.exports = {
GL11.glDisable(GL11.GL_TEXTURE_2D);
GL11.glDisable(GL11.GL_DEPTH_TEST);
GL11.glDepthMask(false);
- GlStateManager.func_179094_E();
+ GlStateManager[m.pushMatrix]()
Tessellator.begin(3).colorize(colorR, colorG, colorB);
@@ -162,7 +163,7 @@ module.exports = {
Tessellator.draw();
- GlStateManager.func_179121_F();
+ GlStateManager[m.popMatrix]()
GL11.glEnable(GL11.GL_TEXTURE_2D);
GL11.glEnable(GL11.GL_DEPTH_TEST);
GL11.glDepthMask(true);