diff --git a/devtools/client/shared/webgl-utils.js b/devtools/client/shared/webgl-utils.js index 5cf529e8788e..f7618c3979e2 100644 --- a/devtools/client/shared/webgl-utils.js +++ b/devtools/client/shared/webgl-utils.js @@ -33,7 +33,7 @@ function create3DContext(canvas) { // try to get a valid context from an existing canvas let context = null; try { - context = canvas.getContext(WEBGL_CONTEXT_NAME, {}); + context = canvas.getContext(WEBGL_CONTEXT_NAME, aFlags); } catch (e) { return null; }