Cryru / Emotion

A game engine.
MIT License
56 stars 5 forks source link

Rethink RenderStreamBatch's usage of FencedBufferSource #90

Closed Cryru closed 1 year ago

Cryru commented 1 year ago

According to https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBufferSubData.xhtml the same buffer object cannot be used while another draw call using it is in flight. This is a problem on select GPUs only so it wasn't noticed until now, but should be addressed.