Fix indexing for DrawLines pattern
The OpenGL2 2D DrawLines routine uses wrong indexing for the newDistances (used for pattern display for segmented lines). The loop increases by 2, which is not taken into account. This can go out of bounds. Pattern display is wrong.