diff options
Diffstat (limited to 'src/jogl/classes/javax')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLArrayData.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLArrayData.java b/src/jogl/classes/javax/media/opengl/GLArrayData.java index 448ddd10c..4562c1c0b 100644 --- a/src/jogl/classes/javax/media/opengl/GLArrayData.java +++ b/src/jogl/classes/javax/media/opengl/GLArrayData.java @@ -86,24 +86,24 @@ public interface GLArrayData { public boolean isVBO(); /** - * The VBO buffer offset or -1 if not a VBO + * The VBO buffer offset or 0 if not a VBO */ public long getVBOOffset(); /** - * The VBO name or -1 if not a VBO + * The VBO name or 0 if not a VBO */ public int getVBOName(); /** - * The VBO usage or -1 if not a VBO - * @return -1 if not a GPU buffer, otherwise {@link GL2ES2#GL_STREAM_DRAW}, {@link GL#GL_STATIC_DRAW} or {@link GL#GL_DYNAMIC_DRAW} + * The VBO usage or 0 if not a VBO + * @return 0 if not a GPU buffer, otherwise {@link GL2ES2#GL_STREAM_DRAW}, {@link GL#GL_STATIC_DRAW} or {@link GL#GL_DYNAMIC_DRAW} */ public int getVBOUsage(); /** - * The VBO target or -1 if not a VBO - * @return -1 if not a GPU buffer, otherwise {@link GL#GL_ARRAY_BUFFER} or {@link GL#GL_ELEMENT_ARRAY_BUFFER} + * The VBO target or 0 if not a VBO + * @return 0 if not a GPU buffer, otherwise {@link GL#GL_ARRAY_BUFFER} or {@link GL#GL_ELEMENT_ARRAY_BUFFER} */ public int getVBOTarget(); |