gpu: correct nullability of userdata pointers
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
000989df5b
commit
a468c51ad4
9 changed files with 65 additions and 65 deletions
|
|
@ -19,7 +19,7 @@ pub const ShaderModule = opaque {
|
|||
source: [*:0]const u8,
|
||||
};
|
||||
|
||||
pub inline fn getCompilationInfo(shader_module: *ShaderModule, callback: CompilationInfoCallback, userdata: *anyopaque) void {
|
||||
pub inline fn getCompilationInfo(shader_module: *ShaderModule, callback: CompilationInfoCallback, userdata: ?*anyopaque) void {
|
||||
Impl.shaderModuleGetCompilationInfo(shader_module, callback, userdata);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue