windows - Can't load OpenGL procs, but only from Haskell -


I have a problem after changing Haskell to some C ++ code on Windows. The code works fine in C ++, but fails to load an OpenGL function in Haskell, i.e.

  user error (unknown openGL extension entry glagvertxerre, checking of openGL 3.1) < / Code> 

While the function works fine in C ++ (where I am using glLoadGen). I have loaded both in depend.exe and there is no difference in the use of OpenGL 32.dll.

I am using OpenGLRaw-1.3. 0.0 .

This was trying to call the GL function before calling Graphics .UI .GLFW.makeContextCurrent . An existing reference is required before a GL function is available.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -