aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl/JoglGL.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/render/opengl/JoglGL.java')
-rw-r--r--src/jake2/render/opengl/JoglGL.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jake2/render/opengl/JoglGL.java b/src/jake2/render/opengl/JoglGL.java
index cac4cc9..5296199 100644
--- a/src/jake2/render/opengl/JoglGL.java
+++ b/src/jake2/render/opengl/JoglGL.java
@@ -307,5 +307,11 @@ public class JoglGL implements QGL {
jogl.glMultiTexCoord2f(target, s, t);
}
+ /*
+ * util extensions
+ */
+ public void setSwapInterval(int interval) {
+ jogl.setSwapInterval(interval);
+ }
}