mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-27 19:02:02 -04:00
Certain draw calls were creating/destroying vertex buffers. Every call. That's kind of not a great thing to do, so instead use the new gs_draw_quadf() function to optimize rendering and reduce the need for swapping vertex buffers. Also uses a shader for DrawStripedLine so it does not have to split it up into separate draw calls.