Update OpenGL backend

add curve (only lines)