aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/impl/x11
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/games/jogl/impl/x11')
-rw-r--r--src/net/java/games/jogl/impl/x11/X11OffscreenGLContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/java/games/jogl/impl/x11/X11OffscreenGLContext.java b/src/net/java/games/jogl/impl/x11/X11OffscreenGLContext.java
index 727c8f23d..6d4557407 100644
--- a/src/net/java/games/jogl/impl/x11/X11OffscreenGLContext.java
+++ b/src/net/java/games/jogl/impl/x11/X11OffscreenGLContext.java
@@ -111,7 +111,7 @@ public class X11OffscreenGLContext extends X11GLContext {
protected synchronized boolean makeCurrent(Runnable initAction) throws GLException {
ensureDisplayOpened();
if (pendingOffscreenResize) {
- if (pendingOffscreenWidth != width || pendingOffscreenWidth != height) {
+ if (pendingOffscreenWidth != width || pendingOffscreenHeight != height) {
if (context != 0) {
destroy();
}