Fixed compilation

This commit is contained in:
Anuken
2020-03-10 19:51:31 -04:00
parent f63d1874c2
commit 8550995c4e
11 changed files with 2 additions and 5 deletions

View File

@@ -60,16 +60,13 @@ public class IndexedRenderer implements Disposable{
updateMatrix();
program.begin();
program.bind();
texture.bind();
program.setUniformMatrix4("u_projTrans", BatchShader.copyTransform(combined));
program.setUniformi("u_texture", 0);
mesh.render(program, Gl.triangles, 0, vertices.length / vsize);
program.end();
}
public void setColor(Color color){