gpu: add ErrorCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
9e88c8f9a8
commit
73933f00a6
2 changed files with 6 additions and 1 deletions
|
|
@ -15,6 +15,12 @@ pub const CompilationInfoCallback = fn (
|
|||
userdata: *anyopaque,
|
||||
) callconv(.C) void;
|
||||
|
||||
pub const ErrorCallback = fn (
|
||||
typ: ErrorType,
|
||||
message: [*:0]const u8,
|
||||
userdata: *anyopaque,
|
||||
) callconv(.C) void;
|
||||
|
||||
pub const AlphaMode = enum(u32) {
|
||||
premultiplied = 0x00000000,
|
||||
unpremultiplied = 0x00000001,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue