diff options
author | Petr Skramovsky <[email protected]> | 2013-05-17 09:09:12 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-05-17 09:09:12 +0200 |
commit | 979e8375e59050d3c7a37ba4902eb8b789813831 (patch) | |
tree | 23ef8995439ea577bfef3b50e888354bddb62b12 /src/jogl | |
parent | 9fbcc16eb37b35f4f0f02e74be6ab14169e3bad0 (diff) |
Fix Bug 736: Add GL.GL_UNSIGNED_INT and GL2ES2.GL_INT case in GLArrayDataWrapper.getBufferClass()
Diffstat (limited to 'src/jogl')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java b/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java index f3fa5012f..f8b17501e 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java +++ b/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java @@ -246,7 +246,9 @@ public class GLArrayDataWrapper implements GLArrayData { case GL.GL_SHORT: case GL.GL_UNSIGNED_SHORT: return ShortBuffer.class; + case GL.GL_UNSIGNED_INT: case GL2ES1.GL_FIXED: + case GL2ES2.GL_INT: return IntBuffer.class; case GL.GL_FLOAT: return FloatBuffer.class; |