Skip to content

Commit 2cc6326

Browse files
committed
Made 'callback' argument of 'debugMessageCallback{KHR}' optional
* makes it possible to unset the debug callback, by passing in 'null'
1 parent e8a67df commit 2cc6326

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bindings.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3271,7 +3271,7 @@ pub var debugMessageInsert: *const fn (
32713271
message: [*c]const Char,
32723272
) callconv(.c) void = undefined;
32733273
pub var debugMessageCallback: *const fn (
3274-
callback: DEBUGPROC,
3274+
callback: ?DEBUGPROC,
32753275
userParam: ?*const anyopaque,
32763276
) callconv(.c) void = undefined;
32773277
pub var getDebugMessageLog: *const fn (
@@ -4376,7 +4376,7 @@ pub var debugMessageInsertKHR: *const fn (
43764376
buf: [*c]const Char,
43774377
) callconv(.c) void = undefined;
43784378
pub var debugMessageCallbackKHR: *const fn (
4379-
callback: DEBUGPROC,
4379+
callback: ?DEBUGPROC,
43804380
userParam: ?*const anyopaque,
43814381
) callconv(.c) void = undefined;
43824382
pub var getDebugMessageLogKHR: *const fn (

0 commit comments

Comments
 (0)