call setLoaded() in PImage.loadPixels()

This commit is contained in:
codeanticode
2014-01-16 16:21:10 -05:00
parent b57c1c489f
commit 5be1f11145

View File

@@ -477,7 +477,7 @@ public class PImage implements PConstants, Cloneable {
if (pixels == null || pixels.length != width*height) {
pixels = new int[width*height];
}
isLoaded();
setLoaded();
}