Skip to content

Commit 980f546

Browse files
committed
::Image::gdraw needs to glEnd what it glBegin-ed
1 parent dc835c3 commit 980f546

File tree

1 file changed

+1
-0
lines changed
  • lib/PDL/Graphics/TriD

1 file changed

+1
-0
lines changed

lib/PDL/Graphics/TriD/GL.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ sub PDL::Graphics::TriD::Image::gdraw {
437437
glVertex3f($vert->slice(":,($_)")->list);
438438
}
439439
};
440+
glEnd();
440441
{ local $@; glEnd(); glPopAttrib(); }
441442
die if $@;
442443
}

0 commit comments

Comments
 (0)