164165166167168169170171172173174
mesh.enable(shader); GL11.glDrawElements(GL11.GL_TRIANGLES, mesh.getIndicesCount(), GL11.GL_UNSIGNED_SHORT, 0); mesh.disable(shader); } shader.disable(); } texture.disable(); } batch.clear();