
29 May
2015
29 May
'15
12:32 a.m.
On Tue, 26 May 2015 14:34:16 +0900
"Daniel P. Wright"
Hi Brian,
Have you checked for / output any GL errors that happen before you call swapBuffers? I have a function printErrors (as defined here http://dpwright.com/posts/2015/03/25/the-haskell-gl-package/#error-handling-... ) which I scatter around when things go wrong to try and find the root cause...
bug report! m@(~(Just w)) <- createWindow 400 400 "Title" Nothing Nothing when (isNothing m) (error "Couldn't create window!") GLFW.makeContextCurrent m ^^^^^^^^^^^^^^^^^^^^^^^^^ then no seg-faults. Brian