aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl/LwjglDriver.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/LwjglDriver.java
parentead589a5eb19ee7d29fe96e27418aac775a802e5 (diff)
set new window location only in fullscreen mode
Diffstat (limited to 'src/jake2/render/opengl/LwjglDriver.java')
-rw-r--r--src/jake2/render/opengl/LwjglDriver.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jake2/render/opengl/LwjglDriver.java b/src/jake2/render/opengl/LwjglDriver.java
index c4c898a..e44dffc 100644
--- a/src/jake2/render/opengl/LwjglDriver.java
+++ b/src/jake2/render/opengl/LwjglDriver.java
@@ -2,7 +2,7 @@
* LWJGLBase.java
* Copyright (C) 2004
*
- * $Id: LwjglDriver.java,v 1.4 2007-02-14 19:50:48 cawe Exp $
+ * $Id: LwjglDriver.java,v 1.5 2007-11-03 13:04:23 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -219,7 +219,6 @@ public abstract class LwjglDriver extends LwjglGL implements GLDriver {
shutdown();
Display.setTitle("Jake2 (lwjgl)");
- Display.setLocation(0, 0);
DisplayMode displayMode = findDisplayMode(newDim);
newDim.width = displayMode.getWidth();
@@ -255,7 +254,7 @@ public abstract class LwjglDriver extends LwjglGL implements GLDriver {
} catch (LWJGLException e) {
return Base.rserr_invalid_fullscreen;
}
- Display.setLocation(window_xpos, window_ypos);
+ //Display.setLocation(window_xpos, window_ypos);
}
Base.setVid(newDim.width, newDim.height);