Relative Content

Tag Archive for openglrenderingfrustumglfrustum

Why does my aspect ratio change without any change to the code?

I am trying to rebuild the foundation of some OpenGL programming I lost a while ago. So I am trying to get a standard quad spinning. It shows up, but every time I run it, the aspect ratio changes WILDLY, from squashing or stretching to the quad being tiny or huge. I do nothing other than start it, shut it down, start it again, over and over, with completely different results every time.