Skip to content

Commit 33619ac

Browse files
authored
Merge pull request #107 from Nairou/fix_element_type
Rename ElementType fields for consistency
2 parents a616c06 + 2909e55 commit 33619ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/zgl.zig

+3-3
Original file line numberDiff line numberDiff line change
@@ -1297,9 +1297,9 @@ pub fn drawArraysInstanced(primitiveType: PrimitiveType, first: usize, count: us
12971297
}
12981298

12991299
pub const ElementType = enum(types.Enum) {
1300-
u8 = binding.UNSIGNED_BYTE,
1301-
u16 = binding.UNSIGNED_SHORT,
1302-
u32 = binding.UNSIGNED_INT,
1300+
unsigned_byte = binding.UNSIGNED_BYTE,
1301+
unsigned_short = binding.UNSIGNED_SHORT,
1302+
unsigned_int = binding.UNSIGNED_INT,
13031303
};
13041304

13051305
pub fn drawElements(primitiveType: PrimitiveType, count: usize, element_type: ElementType, indices: usize) void {

0 commit comments

Comments
 (0)