I've had a problem after converting some C++ code to Haskell on Windows. The code in C++ works fine, but in Haskell any OpenGL function fails to load, i.e.
user error (unknown OpenGL extension entry glGenVertexArrays, check for
OpenGL 3.1)
Whereas the function works fine in C++ (where I'm using glLoadGen). I've loaded both into depends.exe
and don't see any difference in what they use from OpenGL32.dll.
I'm using OpenGLRaw-1.3.0.0
.