AlexCharlton / cl-glfw3

Common Lisp bindings to GLFW version 3.x
BSD 2-Clause "Simplified" License
89 stars 32 forks source link

Fixes for OS X #4

Closed fjl closed 11 years ago

fjl commented 11 years ago

I tried using cl-glfw3 on OS X and found several issues.

They are all fixed with this pull request. I can now run the examples using sbcl-1.1.11 and glfw 3.0.2. I don't have a Linux machine to test this, but the changes should work on Linux, too.

I'm open to change things if you find something you don't like.

AlexCharlton commented 11 years ago

Thanks for this great pull request! Works on Linux. It's a bit embarrassing how many key codes I screwed up :S

While I accepted 0b17d62 since it does fix some genuine bugs, I'm going to go and revert your changes to C-ARRAY->LIST itself, since making it a macro does nothing that inlining wouldn't do.

fjl commented 11 years ago

I'm still thinking about the float traps issue. I'll update this branch with more commits later.