Closed ysgard closed 11 years ago
The state of glfw3 is being discussed on the go-gl forum.
glfw3 intentionally breaks backwards compatibility with glfw2, for good reason. It is not possible (or reasonable) to have a package which simultaneously works for glfw2 and glfw3. As such, the plan is to introduce a new set of go bindings named glfw3, at some stage. Some people are already working on this. If you want glfw3 support, I suggest you use the linked package.
The go-gl authors would welcome a glfw3 package (and author) joining the go-gl github organization, but we're not actively working on it ourselves at the moment.
Hope that helps.
I'm happy to welcome @tapir to the @go-gl organization, with go-gl/glfw3.
It does. Thank you for your response! I'm happy to see that there is already a glfw3 package in the works. BTW, thank you for all your hard work on the glfw package, it's my "go-to" package(hurr durr) for creating OpenGL contexts for my experiments, and I've always been very happy with it.
:beers: @Ysgard @jteeuwen @tapir
cheers!
Currently the Go build of this package fails when the version of glfw installed is 3 instead of 2. Part of the reason for this is the new header organization - glfw 3 puts its header into GLFW/glfw.h instead of GL/glfw.h. Copying the glfw.h file to GL/ doesn't work either, as there have been changes to the API.
Going back to glfw 2.7 fixed the issue for me, but it would be nice to have go-gl/glfw support both versions.
Discovered on 64-bit arch linux. Workaround there is to install glfw-2.7 from the AUR.