Skip to content

Commit

Permalink
GLJPanel: No need to utilize AWT Component's default ImageObserver co…
Browse files Browse the repository at this point in the history
…de - pixel data is ready when invoked.
  • Loading branch information
sgothel committed Mar 18, 2013
1 parent 81cbcdc commit 8e56bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
Expand Up @@ -1128,7 +1128,7 @@ public void doPaintComponent(Graphics g) {
g.drawImage(offscreenImage, 0, 0,
offscreenImage.getWidth(),
offscreenImage.getHeight(),
GLJPanel.this);
null /* Null ImageObserver since image data is ready. */);
}
}

Expand Down

0 comments on commit 8e56bd8

Please sign in to comment.