mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-25 14:44:28 +00:00
Redirect negative display list calls to VBOs globally (fixes Smart Moving) (#217)
* Redirect negative display list calls to VBOs globally Fixes Smart Moving not rendering player models * Remove now redundant glCallList redirects * Make VertexBuffer keep track of its own draw mode
This commit is contained in:
1 parent
32e2efc1e5
commit
733ffff81f
8 files changed
+26
-34
No files matched your search
@@ -157,7 +157,7 @@ public class HorizonRenderer {
|
||||
vertexBuffer.bind();
|
||||
GL11.glVertexPointer(3, GL11.GL_FLOAT, 12, 0L);
|
||||
GL11.glEnableClientState(GL11.GL_VERTEX_ARRAY);
|
||||
vertexBuffer.draw(floatBuffer, GL11.GL_QUADS);
|
||||
vertexBuffer.draw(floatBuffer);
|
||||
GL11.glDisableClientState(GL11.GL_VERTEX_ARRAY);
|
||||
vertexBuffer.unbind();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user