Moved around some Static fields/methods, named LocType opcode 74

This commit is contained in:
Pazaz 2022-06-01 09:05:38 -04:00
parent 82c75b3ec9
commit 5e66d3ba01
95 changed files with 946 additions and 993 deletions

View file

@ -242,7 +242,7 @@ public final class GlRenderer {
lightingEnabled = true;
depthTestEnabled = true;
fogEnabled = true;
Static83.method440();
resetMaterial();
gl.glActiveTexture(GL2.GL_TEXTURE1);
gl.glTexEnvi(GL2.GL_TEXTURE_ENV, GL2.GL_TEXTURE_ENV_MODE, GL2.GL_COMBINE);
gl.glTexEnvi(GL2.GL_TEXTURE_ENV, GL2.GL_COMBINE_RGB, GL2.GL_MODULATE);
@ -811,4 +811,9 @@ public final class GlRenderer {
LightingManager.method2401();
MaterialManager.init();
}
@OriginalMember(owner = "client!gj", name = "b", descriptor = "(I)V")
public static void resetMaterial() {
MaterialManager.setMaterial(0, 0);
}
}