Initializing OpenGL without GLUT

后端 未结 7 1639
日久生厌
日久生厌 2020-12-02 07:26

every introduction and sample that I can find seems to use GLUT or some other framework to \"initialize\" OpenGL. Is there a way of initializing OpenGL with just what is av

7条回答
  •  我在风中等你
    2020-12-02 08:12

    Here's a basic and good introduction to how you initialize OpenGL (assuming windows) without using GLUT:

    Init OpenGL without GLUT

    As Luke said, if you dont want to use GLUT, you need specific information about the operating system you are developing on. Using GLUT will make your code easier to port.

提交回复
热议问题