From 7225c6e5ccc6522e52841b4d2790734d222fd1d3 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Mon, 10 Jun 2024 14:48:31 -0700 Subject: [PATCH] fix typo --- src/render-pass-encoder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render-pass-encoder.ts b/src/render-pass-encoder.ts index 0a102b5..0a04574 100644 --- a/src/render-pass-encoder.ts +++ b/src/render-pass-encoder.ts @@ -236,7 +236,7 @@ export function beginRenderPass(commandEncoder: GPUCommandEncoder, passEncoder: state: 'open', commandEncoder, targetWidth: targetWidth || 0, - targetHeight: targetWidth || 0, + targetHeight: targetHeight || 0, vertexBuffers: [], bindGroups: [], occlusionQuerySet,