diff options
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java')
-rw-r--r-- | make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java b/make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java index 82b791208..8cd253a41 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gl2_es2.java @@ -1,11 +1,11 @@ @Override public final void glVertexAttribPointer(GLArrayData array) { - if(array.getComponentCount()==0) return; + if(array.getCompsPerElem()==0) return; if(array.isVBO()) { - glVertexAttribPointer(array.getLocation(), array.getComponentCount(), array.getComponentType(), + glVertexAttribPointer(array.getLocation(), array.getCompsPerElem(), array.getCompType(), array.getNormalized(), array.getStride(), array.getVBOOffset()); } else { - glVertexAttribPointer(array.getLocation(), array.getComponentCount(), array.getComponentType(), + glVertexAttribPointer(array.getLocation(), array.getCompsPerElem(), array.getCompType(), array.getNormalized(), array.getStride(), array.getBuffer()); } } |