[draw] Simplify start_path

This commit is contained in:
Behdad Esfahbod 2022-02-03 12:54:32 -06:00
parent 1740916ede
commit 86fcd4fe98
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ struct draw_helper_t
void start_path ()
{
if (st.path_open) end_path ();
assert (!st.path_open);
st.path_open = true;
funcs->move_to (draw_data, st.path_start_x, st.path_start_y);
}