crayon
crayon copied to clipboard
update_texture bail on out of bounds
I'm not sure this check works since data is in bytes and area is pixels, unless I'm using it wrong. It appears to work if I remove the check, however:
https://github.com/shawnscode/crayon/blob/85b27c48930e26d9baeac9143f56eab6b9420a6f/src/video/backends/gl/visitor.rs#L474
Thanks! It has been fixed in #77.