|
@@ -54,11 +54,11 @@ class BigPrimitive extends Primitive {
|
|
tmpBuf = new hxd.FloatBuffer();
|
|
tmpBuf = new hxd.FloatBuffer();
|
|
else
|
|
else
|
|
PREV_BUFFER = null;
|
|
PREV_BUFFER = null;
|
|
- #if hl
|
|
|
|
if( isStatic )
|
|
if( isStatic )
|
|
- #end
|
|
|
|
tmpBuf.grow(65535 * stride);
|
|
tmpBuf.grow(65535 * stride);
|
|
}
|
|
}
|
|
|
|
+ if( !isStatic )
|
|
|
|
+ tmpBuf.grow(vcount * stride + bufPos);
|
|
if( tmpIdx == null ) {
|
|
if( tmpIdx == null ) {
|
|
tmpIdx = PREV_INDEX;
|
|
tmpIdx = PREV_INDEX;
|
|
if( tmpIdx == null )
|
|
if( tmpIdx == null )
|