renderer is no longer a class because glfw is a C library