i made a small program that draws a rotating line. The problem is that when i set the rotation speed to a high value i see this effect:
EDIT: Apparently you cant see the effect when i take a screenshot - but it looks like it is drawing multiple lines like this: https://i.ibb.co/0KqHskN/imageedit-2-9422376044.png
I initially thought it had something to do with screen tearing and so i tried calling glfwSwapInterval(1) to enable vsync but that doesn’t fix it.
Does anybody know why this is occurring? and how to fix it?