Adapt the basic spline code from the softgpu to the GL code.

Fixes (but not perfectly) games that make simple use of splines like LocoRoco.
(The locos are a little jagged)