opengl.rs · GitHub. This is my full code. I drew two triangles.But I don’t know how to update my buffer. I read this post ldEngine: Drawing One Million Quads with OpenGL. And here’s his code I’m trying to implement.GLSpriteRenderDemo/main.cpp at master · bitnenfer/GLSpriteRenderDemo · GitHub. But I’m not sure what’s going on there.
What do I do next to update my buffer ? Thanks