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,