mach: finalizing changes for now

This commit is contained in:
iddev5 2022-04-28 23:41:32 +05:30 committed by Stephen Gutekanst
parent 5249e72408
commit 5c984d9795
2 changed files with 17 additions and 11 deletions

View file

@ -68,6 +68,7 @@ fn init(allocator: Allocator, options: Options) !Engine {
const found_backend_type = @intToEnum(gpu.Adapter.BackendType, c.machDawnNativeAdapterProperties_getBackendType(properties));
if (found_backend_type == backend_type) {
dawn_adapter = adapter;
break;
}
}
if (dawn_adapter == null) {