Trying to read the number of texture units available, but I get a nullpointer exception on this line:
System.out.println("Number of texture units: " + Util.glGetInteger(GL13.GL_MAX_TEXTURE_UNITS));
Seems like a LWJGL bug? Or, if not, how to find the number of texture units?
Using LWJGL v1.0 Beta 2