summaryrefslogtreecommitdiff
path: root/src/drivers/GDI
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-03-01 15:47:23 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-03-01 15:47:30 +0100
commitb771ee53b9e7c9a182764994ddd0852d91cc833f (patch)
tree2cb173cb097d4fcf07e0ccb15243332fe237cde1 /src/drivers/GDI
parent0623a8d4b9e8a56cc435dc550c6b56fa1a9607e9 (diff)
Remove duplicated code between derived classes of Fl_Graphics_Driver - cont'd.
Diffstat (limited to 'src/drivers/GDI')
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx3
1 files changed, 1 insertions, 2 deletions
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;
}