Quote Originally Posted by User137 View Post
- (Optional, create window here. You can use ready TForm, or with Lazarus you should use TOpenGLContext.)
- InitOpenGL()
- Create window (if wasn't already)
- Initialize rendering context (don't need to do much with TOpenGLContext, at least MakeCurrent())
- ReadExtensions()
- ReadImplementationProperties()
- Now you can initialize the projection matrix, load textures etc.
My question was addressed to code_glitch (so I don't understand why are you quoting me?) as the issue may be in context creation and/or when reading extensions, but the order of the calls that you described should work.