move the note

This commit is contained in:
Ben Fry
2015-05-15 16:23:48 -04:00
parent 3d33fe3fd1
commit 8f23be3df0

View File

@@ -253,14 +253,13 @@ public class PGraphicsPDF extends PGraphicsJava2D {
}
// endDraw() needs to be overridden so that the endDraw() from
// PGraphicsJava2D is not inherited (it calls loadPixels).
// http://dev.processing.org/bugs/show_bug.cgi?id=1169
public void endDraw() {
// Also need to pop the matrix since the matrix doesn't reset on each run
// http://dev.processing.org/bugs/show_bug.cgi?id=1227
popMatrix();
// This needs to be overridden so that the endDraw() from PGraphicsJava2D
// is not inherited (it calls loadPixels).
// http://dev.processing.org/bugs/show_bug.cgi?id=1169
}