diff --git a/sample/helloTriangleMSAA/main.ts b/sample/helloTriangleMSAA/main.ts index aac0117c..115baabc 100644 --- a/sample/helloTriangleMSAA/main.ts +++ b/sample/helloTriangleMSAA/main.ts @@ -41,7 +41,7 @@ const pipeline = device.createRenderPipeline({ topology: 'triangle-list', }, multisample: { - count: 4, + count: sampleCount, }, }); diff --git a/sample/resizeCanvas/main.ts b/sample/resizeCanvas/main.ts index 94d39331..1a16144e 100644 --- a/sample/resizeCanvas/main.ts +++ b/sample/resizeCanvas/main.ts @@ -42,7 +42,7 @@ const pipeline = device.createRenderPipeline({ topology: 'triangle-list', }, multisample: { - count: 4, + count: sampleCount, }, });