@@ -1572,6 +1572,7 @@ pub fn Wrap(comptime bindings: anytype) type {
15721572 level : u32 ,
15731573 internal_format : InternalFormat ,
15741574 width : u32 ,
1575+ border : bool = false ,
15751576 format : PixelFormat ,
15761577 pixel_type : PixelType ,
15771578 data : ? [* ]const u8 ,
@@ -1581,7 +1582,7 @@ pub fn Wrap(comptime bindings: anytype) type {
15811582 @bitCast (args .level ),
15821583 @intFromEnum (args .internal_format ),
15831584 @bitCast (args .width ),
1584- 0 ,
1585+ @intFromBool ( args . border ) ,
15851586 @intFromEnum (args .format ),
15861587 @intFromEnum (args .pixel_type ),
15871588 args .data ,
@@ -1605,6 +1606,7 @@ pub fn Wrap(comptime bindings: anytype) type {
16051606 internal_format : InternalFormat ,
16061607 width : u32 ,
16071608 height : u32 ,
1609+ border : bool = false ,
16081610 format : PixelFormat ,
16091611 pixel_type : PixelType ,
16101612 data : ? [* ]const u8 ,
@@ -1615,7 +1617,7 @@ pub fn Wrap(comptime bindings: anytype) type {
16151617 @intFromEnum (args .internal_format ),
16161618 @bitCast (args .width ),
16171619 @bitCast (args .height ),
1618- 0 ,
1620+ @intFromBool ( args . border ) ,
16191621 @intFromEnum (args .format ),
16201622 @intFromEnum (args .pixel_type ),
16211623 args .data ,
@@ -2812,11 +2814,11 @@ pub fn Wrap(comptime bindings: anytype) type {
28122814 }
28132815
28142816 // pub var uniform2i: *const fn (location: Int, v0: Int, v1: Int) callconv(.C) void = undefined;
2815- pub fn uniform2i (location : UniformLocation , v0 : i32 , v1 : i32 ) void {
2817+ pub fn uniform2i (location : UniformLocation , v0 : i32 , v1 : i32 ) void {
28162818 bindings .uniform2i (@as (Int , @bitCast (location )), v0 , v1 );
28172819 }
28182820 // pub var uniform3i: *const fn (location: Int, v0: Int, v1: Int, v2: Int) callconv(.C) void = undefined;
2819- pub fn uniform3i (location : UniformLocation , v0 : i32 , v1 : i32 , v2 : i32 ) void {
2821+ pub fn uniform3i (location : UniformLocation , v0 : i32 , v1 : i32 , v2 : i32 ) void {
28202822 bindings .uniform3i (@as (Int , @bitCast (location )), v0 , v1 , v2 );
28212823 }
28222824 // pub var uniform4i: *const fn (
@@ -2826,7 +2828,7 @@ pub fn Wrap(comptime bindings: anytype) type {
28262828 // v2: Int,
28272829 // v3: Int,
28282830 // ) callconv(.C) void = undefined;
2829- pub fn uniform4i (location : UniformLocation , v0 : i32 , v1 : i32 , v2 : i32 , v3 : i32 ) void {
2831+ pub fn uniform4i (location : UniformLocation , v0 : i32 , v1 : i32 , v2 : i32 , v3 : i32 ) void {
28302832 bindings .uniform4i (@as (Int , @bitCast (location )), v0 , v1 , v2 , v3 );
28312833 }
28322834 // pub var uniform1fv: *const fn (
0 commit comments