Skip to content

Commit a333906

Browse files
ErichDonGublers-macke
authored andcommitted
Migrate to GPUAdapter.info
Resolves <#3>.
1 parent 898e927 commit a333906

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scripts/webgpu/gpu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class GPU {
4141
throw new Error("Cannot request GPU adapter");
4242
}
4343

44-
this.adapterInfo = await this.adapter.requestAdapterInfo()
44+
this.adapterInfo = this.adapter.info
4545

4646
await this.RequestDevice()
4747

0 commit comments

Comments
 (0)