fixed render pipe for draw_tex