switched from SDL to GLFW