Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在reshape()函数中,我可以简单地调用回调函数display()而不是glutPostRedisplay()?
reshape()
display()
glutPostRedisplay()
你可以,但这不是一个好主意。让消息处理程序完成它的工作。
如果您需要对消息处理和呈现进行更多控制,则应使用 GLFW。