ziglibs / zgl

Zig OpenGL Wrapper
MIT License
408 stars 63 forks source link

Rename ElementType fields for consistency #107

Closed Nairou closed 4 months ago

Nairou commented 4 months ago

Fixes #22, which has a point. Both Type and ElementType have fields resembling primitive types, but they are actually named identifiers, matching labels in the OpenGL documentation.

Type already uses OpenGL names, so ElementType should as well.