You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see in webgl-lines\base\index.js you have let isWebGL = opt.context === 'webgl' which comes back false and then when I explicitly change the context to have webgl
let context = require('../base')(render, { name: __dirname, description: "_touch and drag to draw_ rendering with triangles ", context: "webgl" })
I get
Uncaught TypeError: context.clearRect is not a function at render (bundle.js:37) at renderRetina (bundle.js:1247) at Array.resize (bundle.js:1204) at drainQueue (bundle.js:2263)
What do I need to do to get WebGL rendering? The way it is currently Canvas is used.
The text was updated successfully, but these errors were encountered: