Skip to content

Commit 40f9883

Browse files
author
Gaëtan Renaudeau
committed
Bugfix contextAttributes passing in context restoring
1 parent 897c71e commit 40f9883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/glsl-transition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function GlslTransition (canvas, opts) {
8181
}
8282

8383
function onContextRestored (e) {
84-
gl = getWebGLContext(canvas);
84+
gl = getWebGLContext(canvas, contextAttributes);
8585
for (var i=0; i<transitions.length; ++i) {
8686
transitions[i].onContextRestored(e);
8787
}

0 commit comments

Comments
 (0)