mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-30 17:58:37 +08:00
7b8b51b29f
Sprites were unnecessarily updating a dynamic vertex buffer every single draw call. This creates static vertex buffers for common vertex buffer dimensions/uvs and only uses a dynamic vertex buffer when the texture coordinates actually change. Porbably not a significant perf change considering the very few number of traingles we draw per frame but still nice to do.