That means it is done differently on every platform out there! Developing applications using OpenGL is all about being portable, so this is the last thing we need. The problem is that creating a window and an OpenGL context is not part of the OpenGL specification. When your application closes, the OpenGL context is destroyed and everything is cleaned up. This is done by creating an OpenGL context, which is essentially a state machine that stores all data related to the rendering of your application. Before you can start drawing things, you need to initialize OpenGL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |