diff --git a/sample/occlusionQuery/main.ts b/sample/occlusionQuery/main.ts index 8b1d9170..60a425a2 100644 --- a/sample/occlusionQuery/main.ts +++ b/sample/occlusionQuery/main.ts @@ -211,7 +211,7 @@ const renderPassDescriptor: GPURenderPassDescriptor = { colorAttachments: [ { view: undefined, // Assigned later - clearValue: { r: 0.5, g: 0.5, b: 0.5, a: 1.0 }, + clearValue: [0.5, 0.5, 0.5, 1.0], loadOp: 'clear', storeOp: 'store', },