Skip to content

Commit d486dcd

Browse files
committed
correct initializeGLPlot argument
1 parent d825c0e commit d486dcd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/plots/gl3d/scene.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,6 @@ proto.recoverContext = function() {
417417
var scene = this;
418418
var gl = this.glplot.gl;
419419
var canvas = this.glplot.canvas;
420-
var camera = this.glplot.camera;
421420
var pixelRatio = this.glplot.pixelRatio;
422421
this.glplot.dispose();
423422

@@ -426,7 +425,7 @@ proto.recoverContext = function() {
426425
requestAnimationFrame(tryRecover);
427426
return;
428427
}
429-
if(!initializeGLPlot(scene, camera, pixelRatio, canvas, gl)) {
428+
if(!initializeGLPlot(scene, pixelRatio, canvas, gl)) {
430429
Lib.error('Catastrophic and unrecoverable WebGL error. Context lost.');
431430
return;
432431
}

0 commit comments

Comments
 (0)