Equivalance

Started by jjones7947, May 23, 2005, 21:36:26

Previous topic - Next topic

jjones7947

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

princec

It's glGetIntegerv(), and it requires an IntBuffer with at least 16 remaining ints in it.

Cas :)

jjones7947

Ok thanks, only I've been through all the GL classes and can't find it.  Where should I be looking?
Jim

Fool Running

Its in GL11:

public static void glGetInteger(int pname, java.nio.IntBuffer params)
:)
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

jjones7947