[Haskell-cafe] unsafeInterleaveIO and OpenGL

Peter Verswyvelen bf3 at telenet.be
Fri May 9 16:37:30 EDT 2008


I'm experiencing strange behavior when executing some Haskell OpenGL 
code inside unsafeInterleaveIO.

For example,

        vp <- get GL.viewport

returns garbage, as if the opengl context is not correctly set.

Is this to be expected? Or is it likely a bug on my side?

Thanks,
Peter


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080509/c239a34e/attachment.htm


More information about the Haskell-Cafe mailing list