aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-04-08 14:51:22 +0200
committerSven Gothel <[email protected]>2011-04-08 14:51:22 +0200
commitab48dac3f4419ceac51fdf059f310f0f0499c4d7 (patch)
treea255186720c566af8a14281ff99dfde3434075cc /make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java
parenta140ed4798896ed5d786fbe63e7241309a4b4a91 (diff)
FIX: Refactor GLArrayData and all it's implementations/sub-interfaces (VBO target, comments, names)
VBO target: Allowing ELEMENT_VERTEX_ARRAY w/o corresponding GLSL/Fixed attribute Names: Clarified method named. Comments: Added and fixed comments
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java')
-rw-r--r--make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java b/make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java
index d99f46ec1..bc2af092b 100644
--- a/make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java
@@ -2,7 +2,7 @@
if(array.getComponentNumber()==0) return;
if(array.isVBO()) {
glVertexAttribPointer(array.getLocation(), array.getComponentNumber(), array.getComponentType(),
- array.getNormalized(), array.getStride(), array.getOffset());
+ array.getNormalized(), array.getStride(), array.getVBOOffset());
} else {
glVertexAttribPointer(array.getLocation(), array.getComponentNumber(), array.getComponentType(),
array.getNormalized(), array.getStride(), array.getBuffer());