patriciogonzalezvivo / glslCanvas

Simple tool to load GLSL shaders on HTML Canvas using WebGL
http://patriciogonzalezvivo.github.io/glslCanvas/
MIT License
1.99k stars 183 forks source link

Set width and height before setFiltering is called #72

Closed davedoesdev closed 2 years ago

davedoesdev commented 3 years ago

Otherwise width and height will be 0 in setFiltering and wrong filter chosen.