gpu: correct Force32 explanation

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-11-16 23:20:39 -07:00 committed by Stephen Gutekanst
parent 4a76678a62
commit 5ce69d0273

View file

@ -210,7 +210,8 @@ MACH_EXPORT MachUtilsBackendBinding machUtilsCreateBinding(WGPUBackendType backe
cppBackendType = wgpu::BackendType::Vulkan;
break;
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;
break;
}