JuliaGL / GLFW.jl

Julia interface to GLFW, a multi-platform library for creating windows with OpenGL contexts and managing input and events.
http://www.glfw.org/
MIT License
138 stars 32 forks source link

Wrap Scaling API #202

Closed musm closed 4 years ago

musm commented 4 years ago

Unrelated but why is this a mutable struct https://github.com/JuliaGL/GLFW.jl/blob/master/src/glfw3.jl#L288 ?

jayschwa commented 4 years ago

Thanks for the PR. I'll take it for a spin this evening.

Unrelated but why is this a mutable struct https://github.com/JuliaGL/GLFW.jl/blob/master/src/glfw3.jl#L288 ?

It was originally immutable, but changed to make life easier for the primary downstream user at the time. Context: https://github.com/JuliaGL/GLFW.jl/pull/150