mrk-its / bevy_webgl2

WebGL2 renderer plugin for Bevy game engine
MIT License
172 stars 46 forks source link

Add scissors support, fix indexed drawing #18

Closed mvlabat closed 3 years ago

mvlabat commented 3 years ago

This PR introduces scissors support and fixes indexed drawing. I didn't want to shove several fixes into one PR, but it turned out to be this way because I tested the changes on my https://github.com/mvlabat/bevy_megaui project and I needed all of them at once to make it work.

I could still divide this into several PRs, but I was a bit lazy, I hope it won't be a problem to merge all of them in one batch if you're ok with the fixes themselves. :)

mrk-its commented 3 years ago

thanks, taking a look!

mvlabat commented 3 years ago

(force-pushed an fmt fix)