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 637c5ef commit 1ecb970Copy full SHA for 1ecb970
src/WGPUCore.jl
@@ -679,7 +679,7 @@ function createEntry(::Type{GPUDepthStencilState}; args...)
679
a = CStruct(WGPUDepthStencilState)
680
if length(args) > 0 && args != C_NULL
681
a.format = args[:format]
682
- a.depthWriteEnabled = args[:depthWriteEnabled]
+ a.depthWriteEnabled = WGPUOptionalBool(args[:depthWriteEnabled])
683
a.depthCompare = args[:depthCompare]
684
a.stencilReadMask = get(args, :stencilReadMask, 0xffffffff)
685
a.stencilWriteMask = get(args, :stencilWriteMask, 0xffffffff)
0 commit comments