【问题标题】:call display() instead of glutPostRedisplay() in reshape?在 reshape 中调用 display() 而不是 glutPostRedisplay()? 【发布时间】:2011-10-05 01:11:34 【问题描述】: 在reshape()函数中,我可以简单地调用回调函数display()而不是glutPostRedisplay()吗? 【问题讨论】: 标签: glut freeglut 【解决方案1】: 您可以,但这不是一个好主意。让消息处理程序完成它的工作。 如果您需要对消息处理和呈现进行更多控制,则应使用 GLFW。 【讨论】: