diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-12-05 19:27:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-05 19:27:12 +0100 |
| commit | 9f92972729008a87887e1b1e2d35438102e91a9e (patch) | |
| tree | d6a0fd12508ab89a9189aaaba46f608761357f89 /test | |
| parent | a8923a0fd4424a07fff247fe1167909264f8a117 (diff) | |
Implement fl_complex_polygon() for OpenGL (#570)
Diffstat (limited to 'test')
| -rw-r--r-- | test/unittest_complex_shapes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unittest_complex_shapes.cxx b/test/unittest_complex_shapes.cxx index c2fdfeb2e..4362086ae 100644 --- a/test/unittest_complex_shapes.cxx +++ b/test/unittest_complex_shapes.cxx @@ -418,7 +418,7 @@ void draw_complex(ComplexShapesTest *p) { fl_color(FL_DARK2); fl_begin_complex_polygon(); fl_vertex(-w, 0); - fl_curve(-w+3, 0, -w+3, -h, w-3, h, w-3, 0); + fl_curve(-w+3, 0, 0, -h, 0, h, w-3, 0); fl_vertex(w, 0); fl_vertex(w, h); fl_vertex(-w, h); fl_end_complex_polygon(); |
