Cool, thanks, that actually increased my framerate :-)
So if I understand this right, the canvas is the gadget that's part of the window, and since I've asked it to be fixed to the edges of the window it will resize whenever the window resizes. So as you resize the window, the canvas gets bigger or smaller, and then so long as I do SetGraphiccs CanvasGraphics(Canvas) upon each resize event, I will have a dynamically resizing OpenGL screen.
I guess OpenGL must re-allocate new front and back buffers when it gets resized.
I still am not sure how to get it to update the canvas at all times regardless of modal clicking. Maybe I should detect some other event, or do away with WaitEvent()?
So if I understand this right, the canvas is the gadget that's part of the window, and since I've asked it to be fixed to the edges of the window it will resize whenever the window resizes. So as you resize the window, the canvas gets bigger or smaller, and then so long as I do SetGraphiccs CanvasGraphics(Canvas) upon each resize event, I will have a dynamically resizing OpenGL screen.
I guess OpenGL must re-allocate new front and back buffers when it gets resized.
I still am not sure how to get it to update the canvas at all times regardless of modal clicking. Maybe I should detect some other event, or do away with WaitEvent()?