aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/GLArrayDataServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataServer.java b/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataServer.java
index e530ad627..433a25eb8 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataServer.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataServer.java
@@ -412,7 +412,7 @@ public class GLArrayDataServer extends GLArrayDataClient implements GLArrayDataE
* @param comps This interleaved array segment's component count per element
* @param vboTarget {@link GL#GL_ARRAY_BUFFER} or {@link GL#GL_ELEMENT_ARRAY_BUFFER}
*/
- public GLArrayData addGLSLSubArray(final String name, final int comps, final int vboTarget) {
+ public GLArrayDataWrapper addGLSLSubArray(final String name, final int comps, final int vboTarget) {
if(interleavedOffset >= getCompsPerElem() * getBytesPerComp()) {
final int iOffC = interleavedOffset / getBytesPerComp();
throw new GLException("Interleaved offset > total components ("+iOffC+" > "+getCompsPerElem()+")");