opengl glutmainloop()

前端 未结 4 807
鱼传尺愫
鱼传尺愫 2020-12-31 02:24

i just started off using OpenGL and it seems it is not easy to understand the working of the glutMainLoop() what really happens there? Does it stay there doing

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-31 03:09

    Well glutMainLoop is the main function the keeps calling and calling the displaying functions and which also keeps your window actually opened. You''ll find out that opengl is not that scary.

提交回复
热议问题