diff options
author | Carsten Weisse <[email protected]> | 2006-11-22 15:05:39 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2006-11-22 15:05:39 +0000 |
commit | b6b2ebd4ee974ff03943275fa20289a83b549161 (patch) | |
tree | b2baf5b923bcba186d797350d64cea019ae90106 /src/jake2/render/basic/Misc.java | |
parent | 60a03cf93bfcafa6fc542bcaacd6fe0d28072caf (diff) |
better driver dependent screenshot handling
Diffstat (limited to 'src/jake2/render/basic/Misc.java')
-rw-r--r-- | src/jake2/render/basic/Misc.java | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/jake2/render/basic/Misc.java b/src/jake2/render/basic/Misc.java index 5e185e2..e4ea57c 100644 --- a/src/jake2/render/basic/Misc.java +++ b/src/jake2/render/basic/Misc.java @@ -2,7 +2,7 @@ * Misc.java * Copyright (C) 2003 * - * $Id: Misc.java,v 1.2 2006-11-21 00:50:46 cawe Exp $ + * $Id: Misc.java,v 1.3 2006-11-22 15:05:38 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -123,22 +123,7 @@ public final class Misc extends Mesh { /** * GL_ScreenShot_f */ - void GL_ScreenShot_f() { - // TODO don't forget -// if (contextInUse) { -// screenshot_f(); -// } else { -// updateScreen(screenshotCall); -// } - } - - private xcommand_t screenshotCall = new xcommand_t() { - public void execute() { - screenshot_f(); - } - }; - - private void screenshot_f() { + public void GL_ScreenShot_f() { StringBuffer sb = new StringBuffer(FS.Gamedir() + "/scrshot/jake00.tga"); FS.CreatePath(sb.toString()); File file = new File(sb.toString()); |