What is the lwjgl equivalent of glGet(GL_MODELVIEW_STACK_DEPTH)?
I see the field in GL11 but can't find the method anywhere.
Jim
It's glGetIntegerv(), and it requires an IntBuffer with at least 16 remaining ints in it.
Cas :)
Ok thanks, only I've been through all the GL classes and can't find it. Where should I be looking?
Jim
Its in GL11:
public static void glGetInteger(int pname, java.nio.IntBuffer params)
:)
Thanks