We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 462c17e commit 48c48c7Copy full SHA for 48c48c7
lib/mtl/log_state.jl
@@ -35,5 +35,6 @@ function MTLLogState(dev::MTLDevice, descriptor::MTLLogStateDescriptor)
35
err = Ref{id{NSError}}(nil)
36
handle = @objc [dev::id{MTLDevice} newLogStateWithDescriptor:descriptor::id{MTLLogStateDescriptor}
37
error:err::Ptr{id{NSError}}]::id{MTLLogState}
38
+ err[] == nil || throw(NSError(err[]))
39
MTLLogState(handle)
40
end
0 commit comments