spline/bezier fix and support flat shading

Can't use this on GLES2, at least.  See discussion here:
https://github.com/hrydgard/ppsspp/issues/6754#issuecomment-52744289

-[Unknown]