Trying to use GL33.glVertexAttribDivisor(int, int), I get a nullpointer exception at "getInstance().VertexAttribDivisor" in:
public static void glVertexAttribDivisor(int index, int divisor) {
long __functionAddress = getInstance().VertexAttribDivisor;
if ( LWJGLUtil.CHECKS )
checkFunctionAddress(__functionAddress);
nglVertexAttribDivisor(index, divisor, __functionAddress);
}
So I tried testing the value of GL33.getInstance() as well as GL40.getInstance() to make sure it wasn't due to my installed OpenGL version (which prints as 4.1); GL33.getInstance() is always null, GL40.getInstance() is fine.
Thanks!
edit: I'm on OS X 10.10.1, OpenGL Version 4.1 INTEL-10.0.86; also, I've tried on LWJGL 2 now and it works fine there.