aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-23 01:09:52 +0200
committerSven Gothel <[email protected]>2012-10-23 01:09:52 +0200
commit953acae56d7cf60db712d8486a69552aac9ca6a1 (patch)
tree89c5c6f2f4b39d01f24c2e0decab01930c6111e6 /src/jake2/render
parent27d3b3e990ae872a5935312ecaf42a12076fd3dc (diff)
Cleanup: Revert minor (semantic) differences introduced in f5612e7dfc635359f15b402c2ee9022a5e703a9d, in search of regression introduced w/ same commit
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');