InitializingOpenGL
InitializingOpenGL copied to clipboard
For OpenGL >= 3.X, you basically need to create a context, check if it supports Opengl 3.0+ context, create that one and then delete the first one.
https://www.reddit.com/r/GraphicsProgramming/comments/ap5axa/i_have_written_a_book_on_opengl_with_a_sadistic/eg6ej6k/?context=3