Merge pull request #12535 from iwubcode/vertexmanager_draw_refactor VideoCommon: refactor drawing into its own function