gpu: convert *opaque -> opaque for CommandBuffer

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-29 22:28:18 -07:00 committed by Stephen Gutekanst
parent 1714f43e1f
commit e15cb4009a
4 changed files with 11 additions and 11 deletions

View file

@ -49,7 +49,7 @@ pub const CommandEncoder = *opaque {
Impl.commandEncoderCopyTextureToTextureInternal(command_encoder, source, destination, copy_size);
}
pub inline fn finish(command_encoder: CommandEncoder, descriptor: ?*const CommandBufferDescriptor) CommandBuffer {
pub inline fn finish(command_encoder: CommandEncoder, descriptor: ?*const CommandBufferDescriptor) *CommandBuffer {
return Impl.commandEncoderFinish(command_encoder, descriptor);
}