LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: jjones7947 on May 23, 2005, 21:36:26

Title: Equivalance
Post by: jjones7947 on May 23, 2005, 21:36:26
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
Title: Equivalance
Post by: princec on May 23, 2005, 22:45:30
It's glGetIntegerv(), and it requires an IntBuffer with at least 16 remaining ints in it.

Cas :)
Title: Thanks
Post by: jjones7947 on May 24, 2005, 13:31:35
Ok thanks, only I've been through all the GL classes and can't find it.  Where should I be looking?
Jim
Title: hmmmmmm....
Post by: Fool Running on May 24, 2005, 14:48:26
Its in GL11:

public static void glGetInteger(int pname, java.nio.IntBuffer params)
:)
Title: OK
Post by: jjones7947 on May 24, 2005, 16:23:42
Thanks