Hello Guest

0.9 & glMatrixMode

  • 1 Replies
  • 7163 Views
*

Offline Optus

  • *
  • 24
    • http://www.3r337.org
0.9 & glMatrixMode
« on: April 16, 2004, 15:22:02 »
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?

*

Offline elias

  • *****
  • 899
    • http://oddlabs.com
0.9 & glMatrixMode
« Reply #1 on: April 16, 2004, 15:39:24 »
I think the correct enums are GL_PROJECTION and GL_MODELVIEW.

 - elias