Im trying to get the max texture size that the device can handle and found this simple java code, but I don't know how to run it in B4A, does someone know how to translate it?
JAVA code:
I copied this code from https://github.com/mattdesl/lwjgl-basics/wiki/LibGDX-Textures
Thanks
JAVA code:
B4X:
IntBuffer buf = BufferUtils.newIntBuffer(16);
Gdx.gl.glGetIntegerv(GL10.GL_MAX_TEXTURE_SIZE, buf);
int maxSize = buf.get(0);
I copied this code from https://github.com/mattdesl/lwjgl-basics/wiki/LibGDX-Textures
Thanks