I am building my first opengl app. I have been following the tutorials here http://www.rastertek.com/gl40tut03.html
I would like some explanation as to how the author know what calls to make next. Like what is the flow of initializing opengl?
looking at the InitializeExtensions method, he sets the devicecontext, then sets a pixel format and then creates a rendering context. So what decides what should be initialized before or after? is there a diagram where I can visualize as to what should be init first?