diff options
author | Sven Gothel <[email protected]> | 2013-03-19 00:35:40 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-03-19 00:35:40 +0100 |
commit | 8e56bd80ab17970e2a45039a44d15e36514c4d50 (patch) | |
tree | d8b28b6569da136307dcdb1edccb7930ffdd4766 /src/jogl/classes/javax/media/opengl | |
parent | 81cbcdc8469143587b2044661dd613c798ae02ba (diff) |
GLJPanel: No need to utilize AWT Component's default ImageObserver code - pixel data is ready when invoked.
Diffstat (limited to 'src/jogl/classes/javax/media/opengl')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/awt/GLJPanel.java | 2 |
1 files changed, 1 insertions, 1 deletions
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. */); } } |