aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/java/games/jogl/GLJPanel.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/java/games/jogl/GLJPanel.java b/src/net/java/games/jogl/GLJPanel.java
index 6b9b52ec7..234908b80 100644
--- a/src/net/java/games/jogl/GLJPanel.java
+++ b/src/net/java/games/jogl/GLJPanel.java
@@ -531,10 +531,10 @@ public final class GLJPanel extends JPanel implements GLDrawable {
// Should figure out if we need to set the image scaling
// preference to FAST since it doesn't require subsampling
// of pixels -- FIXME
- for (int i = 0; i < panelHeight - 1; i++) {
+ for (int i = 0; i < panelHeight; i++) {
g.drawImage(offscreenImage,
0, i, panelWidth, i+1,
- 0, panelHeight - i - 2, panelWidth, panelHeight - i - 1,
+ 0, panelHeight - i - 1, panelWidth, panelHeight - i,
GLJPanel.this);
}
} else {