[Haskell-cafe] GLFW on OS X
ninegua at gmail.com
Wed Mar 17 12:34:58 EDT 2010
Just tried it, same configuration OS X 10.6.2, GHC 6.12.1, GLFW 4.2,
etc. Fresh install. No problem at all, and no work around needed.
On 3/17/10, Paul L <ninegua at gmail.com> wrote:
> It sounds like the windowSizeCallback wasn't called when the app first
> started up. You may try naming that callback function, and calling it
> once during startup time.
> I have not test it myself, but I don't recall this problem when I
> previously worked on OS X 10.5 with GLFW.
> On 3/16/10, Carsten Schultz <carsten at codimi.de> wrote:
>> Hi everyone,
>> I am working with
>> MacOS X 10.6.2
>> ghc 6.12.1
>> GLFW 0.4.2
>> OpenGL 184.108.40.206
>> mkbndl (freshly installed, should be 0.2.1)
>> I have copied sample program from
>> http://www.haskell.org/haskellwiki/GLFW#Sample_Program to a file named
>> GLFWTest.hs. (I had to change some Floats to GLfloats.)
>> No I do:
>>> ghc --make GLFWTest.hs
>>> mkbndl -f GLFWTest
>>> open GLFWTest.app
>> Is that what I am supposed to do?
>> The program window remains white, if I move another window in front of
>> it and away again, it becomes black, but if I draw lines on it (that is
>> the function program) they do not appear. If I move or resize the
>> window, it gets drawn correctly, and I can see that the lines that I had
>> drawn had in fact been registered. From this point on the program works
>> as expected.
>> Is this an OS X specific issue? How do I solve it?
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
> Paul Liu
> Yale Haskell Group
Yale Haskell Group
More information about the Haskell-Cafe