aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl/Jsr231cbDriver.java
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2007-11-03 13:04:23 +0000
committerCarsten Weisse <[email protected]>2007-11-03 13:04:23 +0000
commit5bfb4c43c3c4b038cb797155da56013656ac6500 (patch)
treec2bb4eb88619c0c78c2ebb705aea3b6a1c167bab /src/jake2/render/opengl/Jsr231cbDriver.java
parentead589a5eb19ee7d29fe96e27418aac775a802e5 (diff)
set new window location only in fullscreen mode
Diffstat (limited to 'src/jake2/render/opengl/Jsr231cbDriver.java')
-rw-r--r--src/jake2/render/opengl/Jsr231cbDriver.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jake2/render/opengl/Jsr231cbDriver.java b/src/jake2/render/opengl/Jsr231cbDriver.java
index e5a06ed..5580db6 100644
--- a/src/jake2/render/opengl/Jsr231cbDriver.java
+++ b/src/jake2/render/opengl/Jsr231cbDriver.java
@@ -194,7 +194,6 @@ public abstract class Jsr231cbDriver extends Jsr231GL implements GLDriver, GLEve
//canvas.setGL(new DebugGL(canvas.getGL()));
canvas.setAutoSwapBufferMode(false);
- canvas.setAutoSwapBufferMode(false);
canvas.addGLEventListener(this);
@@ -236,7 +235,7 @@ public abstract class Jsr231cbDriver extends Jsr231GL implements GLDriver, GLEve
VID.Printf(Defines.PRINT_ALL, "...setting fullscreen " + getModeString(displayMode) + '\n');
} else {
- window.setLocation(window_xpos, window_ypos);
+ //window.setLocation(window_xpos, window_ypos);
window.pack();
window.setResizable(false);
window.setVisible(true);