Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate functions that do the same things, but in subtly different ways. OpenGL >= 4.5 and OpenGL < 4.5 is the cutoff point. #9

Open
tommai78101 opened this issue Feb 10, 2019 · 0 comments
Labels
opengl Specific to OpenGL related quirks

Comments

@tommai78101
Copy link
Owner

tommai78101 commented Feb 10, 2019

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

@tommai78101 tommai78101 added the opengl Specific to OpenGL related quirks label Feb 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
opengl Specific to OpenGL related quirks
Projects
None yet
Development

No branches or pull requests

1 participant