From: Chris Duncan Date: Wed, 5 Feb 2025 13:58:27 +0000 (-0800) Subject: Log loading errors for WebGPU in addition to WebGL. X-Git-Tag: v3.0.0~24 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=b2f53ef0b30bfea4c59c34edf6c1e88bfb40bdf5;p=nano-pow.git Log loading errors for WebGPU in addition to WebGL. --- diff --git a/src/classes/index.ts b/src/classes/index.ts index 7908c6f..3e7f7e0 100644 --- a/src/classes/index.ts +++ b/src/classes/index.ts @@ -9,6 +9,7 @@ try { await NanoPowGpu.init() isGpuSupported = true } catch (err) { + console.error(err) console.warn(`WebGPU is not supported in this environment.`) isGpuSupported = false }