summaryrefslogtreecommitdiff
path: root/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_vertex.cxx
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/Xlib/Fl_Xlib_Graphics_Driver_vertex.cxx
parent0623a8d4b9e8a56cc435dc550c6b56fa1a9607e9 (diff)
Remove duplicated code between derived classes of Fl_Graphics_Driver - cont'd.
Diffstat (limited to 'src/drivers/Xlib/Fl_Xlib_Graphics_Driver_vertex.cxx')
-rw-r--r--src/drivers/Xlib/Fl_Xlib_Graphics_Driver_vertex.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_vertex.cxx b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_vertex.cxx
index f94b685c0..2f1608d13 100644
--- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_vertex.cxx
+++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_vertex.cxx
@@ -57,11 +57,6 @@ void Fl_Xlib_Graphics_Driver::end_polygon() {
if (n>2) XFillPolygon(fl_display, fl_window, gc_, (XPoint*)p, n, Convex, 0);
}
-void Fl_Xlib_Graphics_Driver::begin_complex_polygon() {
- begin_polygon();
- gap_ = 0;
-}
-
void Fl_Xlib_Graphics_Driver::gap() {
while (n>gap_+2 && p[n-1].x == p[gap_].x && p[n-1].y == p[gap_].y) n--;
if (n > gap_+2) {