InitializingOpenGL
InitializingOpenGL copied to clipboard
Duplicate functions that do the same things, but in subtly different ways. OpenGL >= 4.5 and OpenGL < 4.5 is the cutoff point.
There are a lot of duplicate functions that do the same thing in just a very slightly different way, the first are used pre Opengl 4.5, the other are used in OpenGL 4.5+ (which is 4.5 and 4.6 atm).
If you will read any tutorials you will see the function glGenBuffers used for example, that's pre 4.5. The function that 4.5+ should use is glCreateBuffers, but there are almost no books, guides, tutorials that use this.
This may extend to other GL functions down the road.
https://www.reddit.com/r/GraphicsProgramming/comments/ap5axa/i_have_written_a_book_on_opengl_with_a_sadistic/eg6ej6k/?context=3