
11 Jul
2012
11 Jul
'12
3:17 p.m.
Hi all! I want to use GLFW-b ( http://hackage.haskell.org/packages/archive/GLFW-b/0.1.0.2/doc/html/Graphics...) and I wrote this: initWindow = do True <- GLFW.initialize print =<< GLFW.openGLProfile print =<< GLFW.getGlfwVersion print =<< *GLFW.getGlVersion* print "Trying to open the window" result <- GLFW.openWindow GLFW.defaultDisplayOptions print result And got this: DefaultProfile Version {versionBranch = [2,7,2], versionTags = []} Version {versionBranch = [*-1867951663,39789305,39789305*], versionTags = []} "Trying to open the window" False Why do I always get random numbers as GLVersion? How can I detect incompatibility preventing me from opening a window? Thanks in advance