Browse Source

Update UnsafeBlob.cs

pull/72/head
Sebastiano Mandalà GitHub 3 years ago
parent
commit
88f89294d0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      com.sebaslab.svelto.ecs/DataStructures/Unmanaged/UnsafeBlob.cs

+ 1
- 1
com.sebaslab.svelto.ecs/DataStructures/Unmanaged/UnsafeBlob.cs View File

@@ -231,7 +231,7 @@ namespace Svelto.ECS.DataStructures
ptr = newPointer;
capacity = newCapacity;

//_readIndex = 0;
//_readIndex = 0; readIndex won't change to keep the previous reserved indices valid
_writeIndex = _readIndex + currentSize;
}
}


Loading…
Cancel
Save