diff options
author | Holger Zickner <[email protected]> | 2005-06-26 08:51:19 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2005-06-26 08:51:19 +0000 |
commit | 8c8458ab72d5ada28cdd3c2e6b1295f056978c63 (patch) | |
tree | ac148bdea6dd34fd88481b912f03ad508cef9a4a /src/jake2/render | |
parent | 432c46b0e76b2a68d275b674311dbe27714f471b (diff) |
last change deleted too much...
Diffstat (limited to 'src/jake2/render')
-rw-r--r-- | src/jake2/render/JoglBase.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jake2/render/JoglBase.java b/src/jake2/render/JoglBase.java index 32053fd..86d743b 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.14 2005-06-24 06:24:34 hzi Exp $ + * $Id: JoglBase.java,v 1.15 2005-06-26 08:51:19 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -207,6 +207,7 @@ public abstract class JoglBase implements GLEventListener { //canvas.setGL(new DebugGL(canvas.getGL())); canvas.setNoAutoRedrawMode(true); + canvas.setAutoSwapBufferMode(false); canvas.addGLEventListener(this); @@ -307,6 +308,7 @@ public abstract class JoglBase implements GLEventListener { protected void GLimp_EndFrame() { gl.glFlush(); + canvas.swapBuffers(); } protected void GLimp_BeginFrame(float camera_separation) { // do nothing |