summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/classes/share/com/sun/j3d/utils/scenegraph/io/state/javax/media/j3d/GeometryArrayState.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/share/com/sun/j3d/utils/scenegraph/io/state/javax/media/j3d/GeometryArrayState.java b/src/classes/share/com/sun/j3d/utils/scenegraph/io/state/javax/media/j3d/GeometryArrayState.java
index ad8d235..8645366 100644
--- a/src/classes/share/com/sun/j3d/utils/scenegraph/io/state/javax/media/j3d/GeometryArrayState.java
+++ b/src/classes/share/com/sun/j3d/utils/scenegraph/io/state/javax/media/j3d/GeometryArrayState.java
@@ -685,7 +685,7 @@ public abstract class GeometryArrayState extends GeometryState {
case FORMAT_DOUBLE: {
double[] doubles = readDoubleArray( in );
ByteBufferWrapper b =
- ByteBufferWrapper.allocateDirect( doubles.length*4 );
+ ByteBufferWrapper.allocateDirect(doubles.length * 8);
DoubleBufferWrapper f =
b.order( ByteOrder.nativeOrder() ).asDoubleBuffer();
f.put( doubles );