OpenGL callback functions must be decorated with APIENTRY (used on windows)