Skip to content

Commit

Permalink
Migrate to GPUAdapter.info
Browse files Browse the repository at this point in the history
Resolves <#3>.
  • Loading branch information
ErichDonGubler authored and s-macke committed Oct 29, 2024
1 parent 898e927 commit a333906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/webgpu/gpu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class GPU {
throw new Error("Cannot request GPU adapter");
}

this.adapterInfo = await this.adapter.requestAdapterInfo()
this.adapterInfo = this.adapter.info

await this.RequestDevice()

Expand Down

0 comments on commit a333906

Please sign in to comment.