aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/impl/Util.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/games/jogl/impl/Util.java')
-rwxr-xr-xsrc/net/java/games/jogl/impl/Util.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/java/games/jogl/impl/Util.java b/src/net/java/games/jogl/impl/Util.java
index 80a5d1232..1b2f9ed9f 100755
--- a/src/net/java/games/jogl/impl/Util.java
+++ b/src/net/java/games/jogl/impl/Util.java
@@ -236,7 +236,7 @@ class Util {
* @return int
*/
protected int glGetIntegerv(GL gl, int what) {
- gl.glGetIntegerv(what, scratch);
+ gl.glGetIntegerv(what, scratch, 0);
return scratch[0];
}
}