From 8e56bd80ab17970e2a45039a44d15e36514c4d50 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 19 Mar 2013 00:35:40 +0100 Subject: GLJPanel: No need to utilize AWT Component's default ImageObserver code - pixel data is ready when invoked. --- src/jogl/classes/javax/media/opengl/awt/GLJPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java b/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java index d62967d7f..ed0fadfa9 100644 --- a/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java +++ b/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java @@ -1128,7 +1128,7 @@ public class GLJPanel extends JPanel implements AWTGLAutoDrawable, WindowClosing g.drawImage(offscreenImage, 0, 0, offscreenImage.getWidth(), offscreenImage.getHeight(), - GLJPanel.this); + null /* Null ImageObserver since image data is ready. */); } } -- cgit v1.2.3