I have started making a 2D renderer in OpenTK with C#.
Something I do wrong and the application crashes.
Problem is in line 104, when I try to run GL.DrawArrays
The first loop works and a line is displayed, but in the second loop the application crashes.
I must find a way to delete the data of the vertex buffer and then upload them again.
Any ideas on this?