mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 07:16:54 +07:00
Fix TextureArraySpriteBatch missing method issue (#8713)
Co-authored-by: vegeta1k95 <vfylfhby>
This commit is contained in:
parent
a5f2db5ec0
commit
c50c0a136e
@ -1,5 +1,6 @@
|
||||
package com.unciv.ui.screens.basescreen;
|
||||
|
||||
import java.nio.Buffer;
|
||||
import java.nio.IntBuffer;
|
||||
import java.util.Arrays;
|
||||
|
||||
@ -158,7 +159,7 @@ public class TextureArraySpriteBatch implements Batch {
|
||||
for (int i = 0; i < maxTextureUnits; i++) {
|
||||
textureUnitIndicesBuffer.put(i);
|
||||
}
|
||||
textureUnitIndicesBuffer.flip();
|
||||
((Buffer) textureUnitIndicesBuffer).flip();
|
||||
|
||||
VertexDataType vertexDataType = (Gdx.gl30 != null) ? VertexDataType.VertexBufferObjectWithVAO : VertexDataType.VertexArray;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user