diff options
author | Sven Gothel <[email protected]> | 2011-04-22 05:18:55 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-04-22 05:18:55 +0200 |
commit | 570d7df455ee0005ced53bddeb05adb04436fe3f (patch) | |
tree | c09f696876e50dfe063c9319b216a140549530b7 /make/config/jogl/gl-impl-CustomJavaCode-common.java | |
parent | 3dc5b9090dd84655a95958dea7e59be8fdc9662c (diff) |
Add GL: glGetBufferSize(int buffer) - buffer size tracking, and add comments ..
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-common.java')
-rw-r--r-- | make/config/jogl/gl-impl-CustomJavaCode-common.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-common.java b/make/config/jogl/gl-impl-CustomJavaCode-common.java index 4872490b0..0a8e90171 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-common.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-common.java @@ -7,11 +7,15 @@ return bufferStateTracker.getBoundBufferObject(target, this); } + public long glGetBufferSize(int buffer) { + return bufferSizeTracker.getDirectStateBufferSize(buffer, this); + } + public boolean glIsVBOArrayEnabled() { return checkArrayVBOEnabled(false); } - public boolean glIsVBOElementEnabled() { + public boolean glIsVBOElementArrayEnabled() { return checkElementVBOEnabled(false); } |