aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/render')
-rw-r--r--src/jake2/render/fast/Mesh.java1
-rw-r--r--src/jake2/render/opengl/NEWTWin.java1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/jake2/render/fast/Mesh.java b/src/jake2/render/fast/Mesh.java
index 547be66..8b61bbb 100644
--- a/src/jake2/render/fast/Mesh.java
+++ b/src/jake2/render/fast/Mesh.java
@@ -35,7 +35,6 @@ import jake2.util.Lib;
import jake2.util.Math3D;
import java.nio.FloatBuffer;
-import java.nio.IntBuffer;
import java.nio.ShortBuffer;
/**
diff --git a/src/jake2/render/opengl/NEWTWin.java b/src/jake2/render/opengl/NEWTWin.java
index fe62060..2afecc4 100644
--- a/src/jake2/render/opengl/NEWTWin.java
+++ b/src/jake2/render/opengl/NEWTWin.java
@@ -171,6 +171,7 @@ public class NEWTWin {
}
window.requestFocus();
window.display(); // force GL resource validation
+ window.setAutoSwapBufferMode(false);
VID.Printf(Defines.PRINT_ALL, "...reques GLCaps "+window.getRequestedCapabilities()+'\n');
VID.Printf(Defines.PRINT_ALL, "...chosen GLCaps "+window.getChosenGLCapabilities()+'\n');