diff --git a/imgui_demo.cpp b/imgui_demo.cpp index 54bd3b5d1886..c04c3a0b398d 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -5506,8 +5506,8 @@ static void ShowExampleAppCustomRendering(bool* p_open) //draw_list->PathArcTo(canvas_center, radius, angle_start, angle_end, segment_count); # if defined(IM_DRAWLIST_ARCFAST_SAMPLES) draw_list->PathArcToFast2(canvas_center, radius, - (int)(angle_start * 48 / (PI * 2.0f)), - (int)(angle_end * 48 / (PI * 2.0f)) + (int)(angle_start * IM_DRAWLIST_ARCFAST_SAMPLES / (PI * 2.0f)), + (int)(angle_end * IM_DRAWLIST_ARCFAST_SAMPLES / (PI * 2.0f)) ); # else draw_list->PathArcToFast(canvas_center, radius,