overtone / shadertone

A mix of www.shadertoy.com and Overtone
Other
419 stars 38 forks source link

LWJGL 2.9.0 window positioning issue #12

Closed rogerallen closed 11 years ago

rogerallen commented 11 years ago

https://github.com/LWJGL/lwjgl/issues/27

describes the issue I'm having when I updated to 2.9.0 from 2.8.5 -- the window pops up in the lower-left instead of the upper left. It's like the origin changed...

I'm going to go back to 2.8.5 because the older behavior seems right. We'll see what happens on that bug...

rogerallen commented 11 years ago

Looks like lwjgl acknowledge the bug & we'll wait for 2.9.1

rogerallen commented 11 years ago

Duh--need to enclose this fix in a

      (if (= "Mac OS X" (System/getProperty "os.name")) ;; FIXME #27
        (Display/setLocation 0 (- (.getHeight (Display/getDesktopDisplayMode)) height))
        (Display/setLocation 0 0))