Skip to content

Commit e3f8563

Browse files
authored
Wrapper: change normalised in vertexAttribPointer to type bool (#32)
1 parent 0c6df14 commit e3f8563

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wrapper.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5765,15 +5765,15 @@ pub fn Wrap(comptime bindings: anytype) type {
57655765
location: VertexAttribLocation,
57665766
size: u32,
57675767
attrib_type: VertexAttribType,
5768-
normalised: Boolean,
5768+
normalised: bool,
57695769
stride: u32,
57705770
offset: usize,
57715771
) void {
57725772
bindings.vertexAttribPointer(
57735773
@intFromEnum(location),
57745774
@as(Int, @bitCast(size)),
57755775
@intFromEnum(attrib_type),
5776-
normalised,
5776+
@intFromBool(normalised),
57775777
@as(Sizei, @bitCast(stride)),
57785778
@as(*allowzero const anyopaque, @ptrFromInt(offset)),
57795779
);

0 commit comments

Comments
 (0)