mirror of
https://github.com/denoland/deno.git
synced 2024-12-02 17:01:14 -05:00
fix(ext/webgpu): use correct variable name (#27108)
This commit is contained in:
parent
6fb0e10252
commit
16e16690af
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ function createGPUSupportedLimits(limits) {
|
|||
}
|
||||
|
||||
function normalizeLimit(limit) {
|
||||
if (typeof num === "bigint") {
|
||||
if (typeof limit === "bigint") {
|
||||
limit = Number(limit);
|
||||
if (limit === NumberPOSITIVE_INFINITY) {
|
||||
limit = NumberMAX_SAFE_INTEGER;
|
||||
|
|
Loading…
Reference in a new issue