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/LwjglRenderer.java | |
parent | 60a03cf93bfcafa6fc542bcaacd6fe0d28072caf (diff) |
better driver dependent screenshot handling
Diffstat (limited to 'src/jake2/render/LwjglRenderer.java')
-rw-r--r-- | src/jake2/render/LwjglRenderer.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/jake2/render/LwjglRenderer.java b/src/jake2/render/LwjglRenderer.java index 9490b2d..156d385 100644 --- a/src/jake2/render/LwjglRenderer.java +++ b/src/jake2/render/LwjglRenderer.java @@ -2,7 +2,7 @@ * LwjglRenderer.java * Copyright (C) 2004 * - * $Id: LwjglRenderer.java,v 1.3 2006-11-21 02:22:19 cawe Exp $ + * $Id: LwjglRenderer.java,v 1.4 2006-11-22 15:05:39 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -216,14 +216,18 @@ final class LwjglRenderer extends LwjglDriver implements refexport_t, Ref { public final void AppActivate(boolean activate) { appActivate(activate); } + + public void screenshot() { + impl.GL_ScreenShot_f(); + } public final int apiVersion() { return Defines.API_VERSION; } - public KBD getKeyboardHandler() { - return kbd; - } + public KBD getKeyboardHandler() { + return kbd; + } // ============================================================================ // Ref interface |