more API cleanups for consistency

This commit is contained in:
Ben Fry
2013-04-28 14:17:29 -04:00
parent 4fd831fb89
commit c7702c9b61
14 changed files with 197 additions and 122 deletions

View File

@@ -253,7 +253,7 @@ public class PGraphics2D extends PGraphicsOpenGL {
try {
InputStream input =
new GZIPInputStream(pg.parent.createInput(filename));
XML xml = new XML(input);
XML xml = new XML(PApplet.createReader(input));
svg = new PShapeSVG(xml);
} catch (Exception e) {
e.printStackTrace();