fix to spline linear. remove the opengl fix (since we're in dx now)