[Haskell-cafe] help with glfw seg-fault
briand at aracnet.com
briand at aracnet.com
Fri May 29 04:18:52 UTC 2015
On Tue, 26 May 2015 14:34:16 +0900
"Daniel P. Wright" <dani at dpwright.com> wrote:
> 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-utilities ) which I scatter around when things go wrong to try and find the root cause...
>
+list
glGetErrors is in the openglraw package but not opengl, which is kind of weird.
on your web page: GL_NO_ERROR should be gl_NO_ERROR
and sadly, i put in the getErrors function and i'm getting the empty list right before it segfaults.
Brian
More information about the Haskell-Cafe
mailing list