diff options
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); } |