summaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl/JoglGL.java
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2007-01-10 14:41:02 +0000
committerCarsten Weisse <[email protected]>2007-01-10 14:41:02 +0000
commite71a49809cf7bf33644e6f41fa54e41a2f38f90a (patch)
tree6b0c6d83dbbb176367b6038231a150f55c2c91f0 /src/jake2/render/opengl/JoglGL.java
parente3407753922fcde71f09bcd52dec961c61f0766c (diff)
add glHint(int target, int mode) e.g. for perspective correction hint
Diffstat (limited to 'src/jake2/render/opengl/JoglGL.java')
-rw-r--r--src/jake2/render/opengl/JoglGL.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jake2/render/opengl/JoglGL.java b/src/jake2/render/opengl/JoglGL.java
index d3e37b5..cac4cc9 100644
--- a/src/jake2/render/opengl/JoglGL.java
+++ b/src/jake2/render/opengl/JoglGL.java
@@ -143,6 +143,10 @@ public class JoglGL implements QGL {
return jogl.glGetString(name);
}
+ public void glHint(int target, int mode) {
+ jogl.glHint(target, mode);
+ }
+
public void glInterleavedArrays(int format, int stride,
FloatBuffer pointer) {
jogl.glInterleavedArrays(format, stride, pointer);