原创文章,转载请注明: 转载自慢慢的回味
In this tutorial, I will teach you how to set up, and use OpenGL in a Windows environment. The program you create in this tutorial will display an empty OpenGL window, switch the computer into fullscreen or windowed mode, and wait for you to press ESC or close the Window to exit. It doesn’t sound like much, but this program will be the framework for every other tutorial I release in the next while. It’s very important to understand how OpenGL works, what goes into creating an OpenGL Window, and how to write simple easy to understand code. You can download the code at the end of the tutorial, but I definitely recommend you read over the tutorial at least once, before you start programming in OpenGL.本作品采用知识共享署名 4.0 国际许可协议进行许可。