diff --git a/lib/make/webgl.js b/lib/make/webgl.js index 9918648..9354ac6 100644 --- a/lib/make/webgl.js +++ b/lib/make/webgl.js @@ -53,5 +53,16 @@ }, renderbufferTarget: () => { return 'RENDERBUFFER' + }, + textureSources: () => { + sources = [ + 'HTMLCanvasElement', + 'HTMLImageElement', + 'HTMLVideoElement', + 'ImageBitmap', + 'ImageData', + 'ArrayBufferView' + ] + return random.item(sources) } }