mirror of
https://github.com/denoland/deno.git
synced 2024-12-12 10:37:52 -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) {
|
function normalizeLimit(limit) {
|
||||||
if (typeof num === "bigint") {
|
if (typeof limit === "bigint") {
|
||||||
limit = Number(limit);
|
limit = Number(limit);
|
||||||
if (limit === NumberPOSITIVE_INFINITY) {
|
if (limit === NumberPOSITIVE_INFINITY) {
|
||||||
limit = NumberMAX_SAFE_INTEGER;
|
limit = NumberMAX_SAFE_INTEGER;
|
||||||
|
|
Loading…
Reference in a new issue