go-gl/glfw3 — pull request #54 by james4k (2013-10-02 23:16:08+00:00)
Title: Fix window callbacks to be per-context.

Per-window (or context) callbacks were using globally defined function
vars, which caused unexpected behavior given the API and documentation.
This changes the callbacks to behave as expected by giving each window
callback vars, and using a global map[*C.GLFWwindow]*Window.

Fixes #53.