BridgesUNCC / bridgesAPI

Back-end Architecture for the BRIDGES Project
http://bridges-cs.herokuapp.com/
MIT License
2 stars 4 forks source link

webgl warning in audio visualization #58

Open esaule opened 4 years ago

esaule commented 4 years ago

When displaying an audio assignment, I get the following warning in the console:

WebGL warning: drawArraysInstanced: Drawing without vertex attrib 0 array enabled forces the browser to do expensive emulation work when running on desktop OpenGL platforms, for example on Mac. It is preferable to always draw with vertex attrib 0 array enabled, by using bindAttribLocation to bind some always-used attribute to location 0.

That probably should be looked at.

assigning @krs-world and @quaiquai

krs-world commented 4 years ago

I will take a look. Looks like the gl code is audio.js (under the audio folder).