More stuff.. upon resizing my canvas with:
I then call my projection matrix resize function:
But the behavior is not as expected. I simply want the opengl projection matrix to stretch/skew with the canvas. Throw aspect ration right out the window (I'll lock the window/canvas sizes to a fixed 4:3 ratio later on)
Any Ideas?
Case EVENT_WINDOWSIZE SetGadgetShape(MyCanvas , 0 , 0 , ClientWidth(MyWindow) - 200 , ClientHeight(myWindow) )
I then call my projection matrix resize function:
glMatrixMode(GL_PROJECTION) glLoadIdentity() gluOrtho2D(0,ClientWidth(mycanvas),ClientHeight(mycanvas),0) glMatrixMode(GL_MODELVIEW)
But the behavior is not as expected. I simply want the opengl projection matrix to stretch/skew with the canvas. Throw aspect ration right out the window (I'll lock the window/canvas sizes to a fixed 4:3 ratio later on)
Any Ideas?