aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/JoglBase.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/render/JoglBase.java')
-rw-r--r--src/jake2/render/JoglBase.java4
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