mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
Created TypeList classes and moved static members to them
This commit is contained in:
parent
6ba1f2f808
commit
b3a5fdbec9
356 changed files with 6604 additions and 6652 deletions
|
|
@ -34,7 +34,7 @@ public final class GlVertexBufferObject {
|
|||
local9.glGenBuffers(1, local12, 0);
|
||||
this.aBoolean300 = arg0;
|
||||
this.anInt5760 = local12[0];
|
||||
this.anInt5761 = Static63.contextId;
|
||||
this.anInt5761 = GlCleaner.contextId;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!vi", name = "a", descriptor = "(Ljava/nio/ByteBuffer;)V")
|
||||
|
|
@ -52,7 +52,7 @@ public final class GlVertexBufferObject {
|
|||
@Override
|
||||
public final void finalize() throws Throwable {
|
||||
if (this.anInt5760 != -1) {
|
||||
Static63.method1489(this.anInt5760, this.anInt5762, this.anInt5761);
|
||||
GlCleaner.method1489(this.anInt5760, this.anInt5762, this.anInt5761);
|
||||
this.anInt5760 = -1;
|
||||
this.anInt5762 = 0;
|
||||
}
|
||||
|
|
@ -70,7 +70,7 @@ public final class GlVertexBufferObject {
|
|||
@Pc(1) GL2 local1 = GlRenderer.gl;
|
||||
local1.glBindBuffer(GL2.GL_ELEMENT_ARRAY_BUFFER, this.anInt5760);
|
||||
local1.glBufferData(GL2.GL_ELEMENT_ARRAY_BUFFER, arg0.limit(), arg0, this.aBoolean300 ? GL2.GL_STREAM_DRAW : GL2.GL_STATIC_DRAW);
|
||||
Static63.anInt1945 += arg0.limit() - this.anInt5762;
|
||||
GlCleaner.anInt1945 += arg0.limit() - this.anInt5762;
|
||||
this.anInt5762 = arg0.limit();
|
||||
}
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ public final class GlVertexBufferObject {
|
|||
@Pc(1) GL2 local1 = GlRenderer.gl;
|
||||
local1.glBindBuffer(GL2.GL_ARRAY_BUFFER, this.anInt5760);
|
||||
local1.glBufferData(GL2.GL_ARRAY_BUFFER, arg0.limit(), arg0, this.aBoolean300 ? GL2.GL_STREAM_DRAW : GL2.GL_STATIC_DRAW);
|
||||
Static63.anInt1945 += arg0.limit() - this.anInt5762;
|
||||
GlCleaner.anInt1945 += arg0.limit() - this.anInt5762;
|
||||
this.anInt5762 = arg0.limit();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue