   Replacing glViewport
  I am trying to replace the deprecated OpenGL matrix stack with my own one, including a replacement for (EDIT: THE NOT DEPRECATED) glViewport.However, I can't figure out how to correctly react to window resizing. The point (0.0,0.0) is drawn at the center of the original window and (1.0,1.0) at the top right corner. But when resizing the window, these positions don't change without glViewport.What can I use instead of this function?[Edited by - The_Underscore on May 29, 2010 10:39:34 AM]
  Why did you think that glViewport was depreciated? It isn't that I'm aware of, and I don't think that there is any other function that replaces its functionality.   ;  Okay, this is embarrassing. You're right, it's not deprecated. I misread the table here: http://pyopengl.sourceforge.net/documentation/manual-3.0/index.xhtml.   ;  Don't feel bad. I made the same mistake in the transition to OGL3.glViewport is a sneaky little bugger...   