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

Fix gl4 documentation for glDrawElements #140

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

NogginBops
Copy link

@NogginBops NogginBops commented Mar 16, 2024

Fixes the documentation for the indices parameter so that correctly documents OpenGL 4 behavior for the following functions:

  • glDrawElements
  • glDrawElementsInstanced
  • glDrawElementsBaseVertex
  • glDrawElementsInstancedBaseVertex
  • glDrawElementsInstancedBaseVertexBaseInstance
  • glDrawRangeElements
  • glDrawRangeElementsBaseVertex
  • glMultiDrawRangeElements
  • glMultiDrawRangeElementsBaseVertex

Does the same for the following ES3.2 functions:

  • glDrawElementsBaseVertex
  • glDrawElementsInstancedBaseVertex
  • glDrawRangeElementsBaseVertex

Fixes #82

Works when I build it locally
image

@NogginBops
Copy link
Author

@oddhack is there any chance of these pull requests getting merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

glDrawElements* indices parameter inconsistency
1 participant