From b771ee53b9e7c9a182764994ddd0852d91cc833f Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 1 Mar 2021 15:47:23 +0100 Subject: Remove duplicated code between derived classes of Fl_Graphics_Driver - cont'd. --- src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/drivers/GDI') diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx index 87e694f18..2f8e80232 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx @@ -59,8 +59,7 @@ void Fl_GDI_Graphics_Driver::end_polygon() { } void Fl_GDI_Graphics_Driver::begin_complex_polygon() { - begin_polygon(); - gap_ = 0; + Fl_Graphics_Driver::begin_complex_polygon(); numcount = 0; } -- cgit v1.2.3