mach: finalizing changes for now
This commit is contained in:
parent
5249e72408
commit
5c984d9795
2 changed files with 17 additions and 11 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue