This commit is contained in:
benfry
2006-07-18 18:13:31 +00:00
parent c70506314d
commit e2aa863d96

View File

@@ -58,8 +58,10 @@ public class PGraphics2D extends PGraphics {
//resize handled by superclass
//requestDisplay handled by superclass
protected void allocate() {
pixelCount = width * height;
pixels = new int[pixelCount];