diff options
author | Sven Gothel <[email protected]> | 2011-09-02 02:16:19 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-02 02:16:19 +0200 |
commit | 7cc793a3c6310085f0e2f89d425b94fe7965c79f (patch) | |
tree | bc41688c8c229ee46621097659f87950841692fd /src/jogl/classes/com | |
parent | f17f55189a3877928c881c7f12274e413960f600 (diff) |
GLArrayDataWrapper: Allow vboTarget '0' -> no VBO
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java b/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java index 3cfb56bf4..4ca3825af 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java +++ b/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java @@ -239,7 +239,7 @@ public class GLArrayDataWrapper implements GLArrayData { if(null == this.name ) { throw new GLException("Not a valid array buffer index: "+index); } - } else if( 0 <= vboTarget ) { + } else if( 0 < vboTarget ) { throw new GLException("Invalid GPUBuffer target: 0x"+Integer.toHexString(vboTarget)); } |