mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 15:27:27 +07:00
Attempt to fix JDK8 compatibility with TextureArraySpriteBatch
This commit is contained in:
parent
4e662a460b
commit
5077477987
@ -1108,8 +1108,8 @@ public class TextureArraySpriteBatch implements Batch {
|
||||
|
||||
mesh.setVertices(vertices, 0, idx);
|
||||
|
||||
mesh.getIndicesBuffer().position(0);
|
||||
mesh.getIndicesBuffer().limit(count);
|
||||
((Buffer) mesh.getIndicesBuffer()).position(0);
|
||||
((Buffer) mesh.getIndicesBuffer()).limit(count);
|
||||
|
||||
if (blendingDisabled) {
|
||||
Gdx.gl.glDisable(GL20.GL_BLEND);
|
||||
|
Loading…
Reference in New Issue
Block a user