I get the null pointer exception inside Class
LWJGLFogState Line 67
public LWJGLFogState() {
super();
if (!inited) {
// Check for support of fog coords.
supportsFogCoords = supportsFogCoordsDetected = GLContext // this line throws a nullpointer exception
.getCapabilities().GL_EXT_fog_coord;
}
}
Does anyone know whats going on here?