diff options
author | Holger Zickner <[email protected]> | 2004-08-23 20:49:12 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-08-23 20:49:12 +0000 |
commit | eff7e24ea4852bfbc0492f88b52210fe4515fdbe (patch) | |
tree | b1e8b75f851c42854b6aa5430fd55dbb5ada027c /src/jake2/render | |
parent | 8cd699757e1ec61dd0ec85a0bf56bbdd4365cd51 (diff) |
- better vid mode selection when switching between window and fullscreen
- new configurable window mode 11 vid_wdth x vid_height (CAVE!)
Diffstat (limited to 'src/jake2/render')
-rw-r--r-- | src/jake2/render/JoglBase.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jake2/render/JoglBase.java b/src/jake2/render/JoglBase.java index f29b0d2..b0b3771 100644 --- a/src/jake2/render/JoglBase.java +++ b/src/jake2/render/JoglBase.java @@ -2,7 +2,7 @@ * JoglCommon.java * Copyright (C) 2004 * - * $Id: JoglBase.java,v 1.6 2004-08-19 20:49:56 hzi Exp $ + * $Id: JoglBase.java,v 1.7 2004-08-23 20:49:12 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -104,6 +104,7 @@ public abstract class JoglBase implements GLEventListener { if (m.getBitDepth() != oldDisplayMode.getBitDepth()) continue; if (m.getRefreshRate() > oldDisplayMode.getRefreshRate()) continue; + if (m.getHeight() < 240 || m.getWidth() < 320) continue; int j = 0; DisplayMode ml = null; |