Removed some unnecessary uniform setting

This commit is contained in:
Anuken
2022-05-30 12:05:10 -04:00
parent 55a219fc03
commit 29e086f23b
5 changed files with 7 additions and 5 deletions

View File

@@ -56,7 +56,6 @@ public class IndexedRenderer implements Disposable{
texture.bind();
program.setUniformMatrix4("u_projTrans", combined);
program.setUniformi("u_texture", 0);
mesh.render(program, Gl.triangles, 0, vertices.length / vsize);
}