
19 Jul
2009
19 Jul
'09
9:37 p.m.
On Tue, Jul 14, 2009 at 5:46 PM, Jeff Heard
Now, if someone resizes the window, the GLArea does not appear to resize along with it. Did I screw something up?
You need to call the opengl glViewport function(I don't remember what the haskell binding is called) in your resize handler so that opengl knows about the new viewport size. And you are also probably going to want to update the opengl projection matrix to prevent distortion as a result of a changed aspect ratio.