gpu: correct Force32 explanation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4a76678a62
commit
5ce69d0273
1 changed files with 2 additions and 1 deletions
|
|
@ -210,7 +210,8 @@ MACH_EXPORT MachUtilsBackendBinding machUtilsCreateBinding(WGPUBackendType backe
|
||||||
cppBackendType = wgpu::BackendType::Vulkan;
|
cppBackendType = wgpu::BackendType::Vulkan;
|
||||||
break;
|
break;
|
||||||
case WGPUBackendType_Force32:
|
case WGPUBackendType_Force32:
|
||||||
// TODO: what would this indicate?
|
// Force32 is just to force the size of the C enum type to 32-bits, so this is technically
|
||||||
|
// an illegal input.
|
||||||
cppBackendType = wgpu::BackendType::Null;
|
cppBackendType = wgpu::BackendType::Null;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue