-
Notifications
You must be signed in to change notification settings - Fork 114
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
missing glMatrixMode and glTexCoord2f #548
Comments
This post is quite old and I found it by accident, but this answer may perhaps help others who somehow get here. These functions are a part of OpenGL's fixed-function pipeline. This API design is ancient and I think it stems from how GPUs were programmed in the 90s. Modern graphics drivers do the bare minimum to support it, as modern GPUs can't be cleanly mapped to that programming model (and by modern I mean like 2008 and newer). This may be a bit disappointing to hear, but you should learn how to use slightly newer versions of the API, like OpenGL 3. It's pretty old by now too, but all of OpenGL is almost deprecated nowadays, you know lol. The website learnopengl.com has a pretty decent tutorial on it. You should avoid using tutorials for OpenGL 2.0, as that's not really how GPUs work nowadays, even if that can be kinda said even of OpenGL 4.6. You won't be using functions like As for why the bindings don't have these functions. The main If you're still hell-bent on using obsolete OpenGL functionality, I've had success manually using the As for the |
Every OpenGL tutorial I come across on the internet references these functions, yet they aren't in this library.
This library has a function
TexCoordP1ui
which does not seem to be part of the OpenGL spec and also has no documentation.What am I not understanding?
The text was updated successfully, but these errors were encountered: