diff options
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/GLArrayDataClient.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataClient.java b/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataClient.java index 71b15e4e9..e0d1ef625 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataClient.java +++ b/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataClient.java @@ -413,7 +413,7 @@ public class GLArrayDataClient extends GLArrayDataWrapper implements GLArrayData ", dataType 0x"+Integer.toHexString(componentType)+ ", bufferClazz "+componentClazz+ ", elements "+getElemCount()+ - ", components "+componentsPerElement+ + ", compsPerElem "+componentsPerElement+ ", stride "+strideB+"b "+strideL+"c"+ ", mappedElementCount "+mappedElementCount+ ", initialElementCount "+initialElementCount+ @@ -455,8 +455,8 @@ public class GLArrayDataClient extends GLArrayDataWrapper implements GLArrayData final int required_elems = compsToElemCount(has_comps + spareComponents); final int new_elems = compsToElemCount( (int)( has_comps * growthFactor + 0.5f ) ); final int elementCount = Math.max( new_elems, required_elems ); - if(DEBUG) { - System.err.println("*** Size: Grow: "+compsToElemCount(has_comps)+" -> "+elementCount); + if( DEBUG ) { + System.err.println("*** Size: Grow: elems "+compsToElemCount(has_comps)+" -> max("+new_elems+", "+required_elems+") -> "+elementCount); } return reserve( elementCount ); } |