We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b4868e commit d16118fCopy full SHA for d16118f
Sources/Rendering/WebGPU/OpaquePass/index.js
@@ -22,9 +22,7 @@ function vtkWebGPUOpaquePass(publicAPI, model) {
22
model._currentParent = viewNode;
23
24
const device = viewNode.getDevice();
25
- const sampleCount = viewNode.getSampleCount
26
- ? viewNode.getSampleCount()
27
- : 1;
+ const sampleCount = viewNode.getSampleCount ? viewNode.getSampleCount() : 1;
28
29
// If sampleCount changed since last render, tear down and recreate
30
if (model.renderEncoder && model._currentSampleCount !== sampleCount) {
0 commit comments