void   SetLineRender(linearraystruct* linearray)

You need call it before you render the lines. It set the render parameters for current line buffer. And it set the blend mode to BLEND_DISABLE, so you need reset it after the line rutines. (When you call the SetLightObjRender, it can reset the last BLEND_MODE after the line rutines.)