mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 10:30:44 +01:00
fix requestionImage() problem with Java2D
This commit is contained in:
@@ -786,6 +786,9 @@ public class PGraphicsJava2D extends PGraphics /*PGraphics2D*/ {
|
||||
protected void imageImpl(PImage who,
|
||||
float x1, float y1, float x2, float y2,
|
||||
int u1, int v1, int u2, int v2) {
|
||||
// Image not ready yet, or an error
|
||||
if (who.width <= 0 || who.height <= 0) return;
|
||||
|
||||
if (who.getCache(this) == null) {
|
||||
//System.out.println("making new image cache");
|
||||
who.setCache(this, new ImageCache(who));
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
0164 core
|
||||
X requestImage() causing problems with JAVA2D
|
||||
|
||||
P1 _ OutOfMemoryError with ellipse() in P3D and OPENGL
|
||||
P1 _ http://dev.processing.org/bugs/show_bug.cgi?id=1086
|
||||
P4 _ point(x,y) ignores noStroke() (in some renderers)
|
||||
|
||||
Reference in New Issue
Block a user