diff options
author | Carsten Weisse <[email protected]> | 2006-11-22 22:09:54 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2006-11-22 22:09:54 +0000 |
commit | b65a4af4324dbb93519f89ce51f24448909c171a (patch) | |
tree | d285cd1a88a1b88be938b6476a6564914fa28d1b /src/jake2 | |
parent | aec38314aa62abbe438887cc4ed47c5ef6157241 (diff) |
format clean up
Diffstat (limited to 'src/jake2')
-rw-r--r-- | src/jake2/render/opengl/Jsr231Driver.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jake2/render/opengl/Jsr231Driver.java b/src/jake2/render/opengl/Jsr231Driver.java index 81ee169..733b3f8 100644 --- a/src/jake2/render/opengl/Jsr231Driver.java +++ b/src/jake2/render/opengl/Jsr231Driver.java @@ -2,7 +2,7 @@ * JoglCommon.java * Copyright (C) 2004 * - * $Id: Jsr231Driver.java,v 1.3 2006-11-22 15:05:39 cawe Exp $ + * $Id: Jsr231Driver.java,v 1.4 2006-11-22 22:09:54 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -161,11 +161,11 @@ public abstract class Jsr231Driver extends Jsr231GL implements GLDriver { ImageIcon icon = new ImageIcon(getClass().getResource("/icon-small.png")); window.setIconImage(icon.getImage()); - Display canvas = new Display(); + Display canvas = new Display(); // we want keypressed events for TAB key canvas.setFocusTraversalKeysEnabled(false); - window.getContentPane().add(canvas); + window.getContentPane().add(canvas); canvas.setSize(newDim.width, newDim.height); // register event listener @@ -222,7 +222,7 @@ public abstract class Jsr231Driver extends Jsr231GL implements GLDriver { // let the sound and input subsystems know about the new window VID.NewWindow(newDim.width, newDim.height); - setGL(display.getGL()); + setGL(display.getGL()); return Base.rserr_ok; } @@ -238,8 +238,8 @@ public abstract class Jsr231Driver extends Jsr231GL implements GLDriver { } } if (window != null) { - display.destroy(); - window.dispose(); + display.destroy(); + window.dispose(); } } |