Skip to content

Commit f6357df

Browse files
committed
fix(renderer): use WebGL as backend renderer
1 parent ba09557 commit f6357df

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Rendering/VTKJS/vtk/ItkVtkViewProxy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ function numberToText(number, precision) {
3636
function ItkVtkViewProxy(publicAPI, model) {
3737
// Set our className
3838
model.classHierarchy.push('ItkVtkViewProxy')
39+
// Use WebGL as rendering backend
40+
model.renderWindow.setDefaultViewAPI('WebGL')
3941

4042
// Private --------------------------------------------------------------------
4143
//

0 commit comments

Comments
 (0)