Hi,
I’d like to do some things for which I do not need a visible GLCanvas (get the maximum size of a texture).
But:
GLCanvas c = new GLCanvas();
c.getGL().glGetIntegerv(GL.GL_MAX_TEXTURE_SIZE, intBuffer);
//...
returns 0! But, when the GLCanvas is visible, and I do the same in the init()-method, it works (returns 2048).
Is this normal? Is there no way to do things without a visible surface?
Thanks
Andi