From b2f53ef0b30bfea4c59c34edf6c1e88bfb40bdf5 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Wed, 5 Feb 2025 05:58:27 -0800 Subject: [PATCH] Log loading errors for WebGPU in addition to WebGL. --- src/classes/index.ts | 1 + 1 file changed, 1 insertion(+) 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 } -- 2.34.1