summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-02 02:16:19 +0200
committerSven Gothel <[email protected]>2011-09-02 02:16:19 +0200
commit7cc793a3c6310085f0e2f89d425b94fe7965c79f (patch)
treebc41688c8c229ee46621097659f87950841692fd /src/jogl/classes/com/jogamp/opengl
parentf17f55189a3877928c881c7f12274e413960f600 (diff)
GLArrayDataWrapper: Allow vboTarget '0' -> no VBO
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java2
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));
}