aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/makamys/neodymium/renderer/Mesh.java2
-rw-r--r--src/main/java/makamys/neodymium/renderer/NeoRenderer.java9
2 files changed, 0 insertions, 11 deletions
diff --git a/src/main/java/makamys/neodymium/renderer/Mesh.java b/src/main/java/makamys/neodymium/renderer/Mesh.java
index fbf425d..6c70523 100644
--- a/src/main/java/makamys/neodymium/renderer/Mesh.java
+++ b/src/main/java/makamys/neodymium/renderer/Mesh.java
@@ -34,8 +34,6 @@ public abstract class Mesh {
public void prepareBuffer() {}
public void destroyBuffer() {}
- public void update() {}
-
public static enum GPUStatus {
UNSENT, SENT, PENDING_DELETE
}
diff --git a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
index 3ded5da..3c5dfd6 100644
--- a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
+++ b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
@@ -148,7 +148,6 @@ public class NeoRenderer {
sort(frameCount % 100 == 0, frameCount % Config.sortFrequency == 0);
- updateMeshes();
initIndexBuffers();
}
@@ -192,14 +191,6 @@ public class NeoRenderer {
}
}
- private void updateMeshes() {
- for(List<Mesh> list : sentMeshes) {
- for(Mesh mesh : list) {
- mesh.update();
- }
- }
- }
-
private void initIndexBuffers() {
for(int i = 0; i < 2; i++) {
piFirst[i].limit(MAX_MESHES);