diff --git a/src/nbody.ts b/src/nbody.ts index c264c60..917e63c 100644 --- a/src/nbody.ts +++ b/src/nbody.ts @@ -121,7 +121,7 @@ function initPipelines() { module: module, entryPoint: 'fs_main', targets: [{ - format: 'bgra8unorm', + format: navigator.gpu.getPreferredCanvasFormat(), blend: { color: { operation: "add",