FosterFramework / Foster

A small C# game framework
MIT License
435 stars 38 forks source link

Fix edge case with expanding Mesh buffers at an offset #6

Closed NoelFB closed 1 year ago

NoelFB commented 1 year ago

In OpenGL when Mesh buffers are expanded they clear the data. However, the API is implemented in such a way that this is not obvious as it's a single method that both uploads sub areas and expands the buffer. This should probably be split into two methods or otherwise somehow clarified.