I’m getting this effect where all vertexes ever created are redrawn every frame.
I got a tip that it has something to do with needing to clear the buffer:
https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glClearBuffer.xhtml
But I can’t figure out how that relates to my project.
It should be looking more like this:
Interestingly enough, if I resize the frame (manually with my mouse), it clears the buffer… now how to do that automatically…