diff options
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java b/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java index 798e1bca3..e3b250934 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java +++ b/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java @@ -279,7 +279,7 @@ public class GLArrayDataWrapper implements GLArrayData { this.vboOffset=vboOffset; switch(vboUsage) { - case -1: // nop + case 0: // nop case GL.GL_STATIC_DRAW: case GL.GL_DYNAMIC_DRAW: case GL2ES2.GL_STREAM_DRAW: @@ -288,7 +288,7 @@ public class GLArrayDataWrapper implements GLArrayData { throw new GLException("invalid gpuBufferUsage: "+vboUsage+":\n\t"+this); } switch(vboTarget) { - case -1: // nop + case 0: // nop case GL.GL_ARRAY_BUFFER: case GL.GL_ELEMENT_ARRAY_BUFFER: break; |