Skip to content
Snippets Groups Projects
Commit 43061b80 authored by giagitom's avatar giagitom
Browse files

Deliver defaultAttribs to Passes constructor

parent aa3d657d
No related branches found
No related tags found
No related merge requests found
...@@ -139,7 +139,7 @@ namespace Canvas3DContext { ...@@ -139,7 +139,7 @@ namespace Canvas3DContext {
const input = InputObserver.fromElement(canvas, { pixelScale, preventGestures: true }); const input = InputObserver.fromElement(canvas, { pixelScale, preventGestures: true });
const webgl = createContext(gl, { pixelScale }); const webgl = createContext(gl, { pixelScale });
const passes = new Passes(webgl, attribs); const passes = new Passes(webgl, a);
if (isDebugMode) { if (isDebugMode) {
const loseContextExt = gl.getExtension('WEBGL_lose_context'); const loseContextExt = gl.getExtension('WEBGL_lose_context');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment