aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl/Jsr231cbDriver.java
diff options
context:
space:
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);