From 953acae56d7cf60db712d8486a69552aac9ca6a1 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 23 Oct 2012 01:09:52 +0200 Subject: Cleanup: Revert minor (semantic) differences introduced in f5612e7dfc635359f15b402c2ee9022a5e703a9d, in search of regression introduced w/ same commit --- src/jake2/render/fast/Mesh.java | 1 - src/jake2/render/opengl/NEWTWin.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jake2/render') 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'); -- cgit v1.2.3