[spline/bezier]Fix the remains of differences between dx9 and opengl.
[spline/bezier]Remove unnecessary initialization of array.
Merge pull request #7189 from xebra/spline_bezier

  [spline/bezier]Fix the remains of differences between dx9 and opengl.