Skip to content

Conversation

@CoffeeImpliesCode
Copy link
Contributor

This PR advances #3.
This may be a bit big as a PR, but I don't know if breaking this up makes sense.
I cross-checked the constants twice, so I'm reasonably sure I didn't mess them up.
Everything is now ordered in the way it's listed in gl.xml

pub const BUFFER = 0x82E0;
pub const SHADER = 0x82E1;
pub const PROGRAM = 0x82E2;
// pub const VERTEX_ARRAY = 0x8074; // already defined?
Copy link
Member

Choose a reason for hiding this comment

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

Yes this defined in OpenGL 1.1

@hazeycode hazeycode merged commit 745a731 into zig-gamedev:main Nov 23, 2024
3 checks passed
@CoffeeImpliesCode
Copy link
Contributor Author

I just noticed that I translated some const void* to [*c]const u8, while you do *anyopaque, will make a PR fixing that later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants