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 cc47b18 commit 8057859Copy full SHA for 8057859
Sources/Rendering/OpenGL/SurfaceLIC/LineIntegralConvolution2D/index.js
@@ -202,7 +202,7 @@ function vtkLineIntegralConvolution2D(publicAPI, model) {
202
const gl = model.context;
203
204
let fb = model.framebuffer;
205
- const fbSize = fb.getSize();
+ const fbSize = fb?.getSize();
206
if (!fb || !fbSize || size[0] !== fbSize || size[1] !== fbSize) {
207
fb = vtkFrameBuffer.newInstance();
208
fb.setOpenGLRenderWindow(model._openGLRenderWindow);
0 commit comments