Trying to autocompile shader once it edited in shadertoy example. After 32 updates process panicked with error:
thread 'main' panicked at 'index out of bounds: the len is 32 but the index is 32', /home/zotho/.cargo/registry/src/github.com-1ecc6299db9ec823/quad-gl-0.2.2/src/lib.rs:285:9
Trying to autocompile shader once it edited in shadertoy example. After 32 updates process panicked with error:
thread 'main' panicked at 'index out of bounds: the len is 32 but the index is 32', /home/zotho/.cargo/registry/src/github.com-1ecc6299db9ec823/quad-gl-0.2.2/src/lib.rs:285:9
In this place: https://github.com/not-fl3/quad-gl/blob/master/src/lib.rs#L285
You can reproduse this error just by clicking
Update
button 32 times in shadertoy example of macroquad