mirror of https://github.com/fltk/fltk
Fix border case of use of fl_end_loop under Windows with USE_GDIPLUS=1
This commit is contained in:
parent
49a161e68d
commit
56f0671b32
|
@ -141,7 +141,7 @@ void Fl_GDIplus_Graphics_Driver::end_line() {
|
|||
void Fl_GDIplus_Graphics_Driver::end_loop() {
|
||||
if (!active) return Fl_GDI_Graphics_Driver::end_loop();
|
||||
fixloop();
|
||||
if (n>2) {
|
||||
if (n >= 2) {
|
||||
Gdiplus::GraphicsPath path;
|
||||
Gdiplus::Point *gdi2_p = new Gdiplus::Point[n];
|
||||
for (int i = 0; i < n; i++) {
|
||||
|
|
Loading…
Reference in New Issue