I've found that any of my code that calls GL11.glMatrixMode(GL11.GL_MODELVIEW_MATRIX), or with GL11.GL_PROJECTION_MATRIX, will always throw an OpenGLException when it gets to Window.update();
The message is Invalid OpenGL enum (1280). Does this happen to anyone else?
I think the correct enums are GL_PROJECTION and GL_MODELVIEW.
- elias