mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-22 10:55:17 -06:00
Moved around some Static fields/methods, named LocType opcode 74
This commit is contained in:
parent
82c75b3ec9
commit
5e66d3ba01
95 changed files with 946 additions and 993 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue