aconstlink / natus

[Discontinued] Software Framework for Audio/Visual/Interactive Real-Time Applications
https://aconstlink.de
MIT License
0 stars 0 forks source link

tri_render_2d and line_render_2d render issues #261

Closed aconstlink closed 3 years ago

aconstlink commented 3 years ago

The tri_render_2d has issues with index buffer update. The index buffer is completely updated per layer. The update function needs to be extended like the vertex buffer update function where start and end indices can be set.

Edit: Actually, the index buffer should be removed and only triangles can be drawn without using a index buffer. But triangle updates in the tri_render_2d has issues too.

This relates to the line_render_2d too.