aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/render/opengl')
-rw-r--r--src/jake2/render/opengl/Jsr231Driver.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jake2/render/opengl/Jsr231Driver.java b/src/jake2/render/opengl/Jsr231Driver.java
index 949faa6..076b6fd 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.15 2006-12-11 15:43:44 cawe Exp $
+ * $Id: Jsr231Driver.java,v 1.16 2006-12-11 15:54:41 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -241,15 +241,15 @@ public abstract class Jsr231Driver extends Jsr231GL implements GLDriver {
e.printStackTrace();
}
}
- if (window != null) {
- display.destroy();
- window.dispose();
- }
}
});
} catch (Exception e) {
e.printStackTrace();
}
+ if (window != null) {
+ display.destroy();
+ window.dispose();
+ }
}
/**