From 90a0389f5af26c3186e05d9848cfaa38e51427ac Mon Sep 17 00:00:00 2001 From: Christian Helgeson Date: Fri, 12 Apr 2024 10:50:13 -0700 Subject: [PATCH] removed odd error --- sample/bitonicSort/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/bitonicSort/main.ts b/sample/bitonicSort/main.ts index d4537b72..e4c84346 100644 --- a/sample/bitonicSort/main.ts +++ b/sample/bitonicSort/main.ts @@ -959,7 +959,7 @@ SampleInitFactoryWebGPU( requestAnimationFrame(frame); } ).then((init) => { - const canvas = document.getElementById('canvasOne') as HTMLCanvasElement; + const canvas = document.querySelector('canvas') as HTMLCanvasElement; const stats = new Stats(); const gui = new GUI();