Skip to content

Conversation

tonitch
Copy link
Contributor

@tonitch tonitch commented Sep 7, 2025

indices is a pointer but it's just a number that is the offset in the element buffer so not the pointer to the buffer itself.

indices is a pointer but it's just a number that is the offset in the
element buffer so not the pointer to the buffer itself.

pub fn drawElements(
mode: PrimitiveType,
length: u32,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: should be called count to reflect the name used by the OpenGL spec.

@hazeycode hazeycode merged commit e5b00b6 into zig-gamedev:main Sep 7, 2025
3 checks passed
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.

2 participants