一定要在idleFunc中glutPostRedisplay();

否则displayFunc只会在windows窗体需要刷新时做。

 

ps,Nehe的教程虽然引用了glut,但没用它。-_-b 

相关文章:

  • 2022-12-23
  • 2021-12-24
  • 2021-12-28
  • 2021-04-26
  • 2021-07-15
  • 2021-09-27
  • 2021-12-05
猜你喜欢
  • 2022-03-05
  • 2021-11-14
  • 2021-12-03
  • 2022-12-23
  • 2021-11-11
  • 2022-01-15
  • 2021-11-21
相关资源
相似解决方案