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