Modified sb6.h for glfw3.0.4