ByteArray rewritten

Now works internally with std::vector


Former-commit-id: 643f1d88b2959aed324743dbf91f831130a9198e
This commit is contained in:
Gawaboumga
2015-08-21 11:28:04 +02:00
parent 3dbcb25384
commit 0b390e45a1
3 changed files with 365 additions and 434 deletions

View File

@@ -192,7 +192,7 @@ NzByteArray NzShader::GetBinary() const
if (binaryLength > 0)
{
byteArray.Resize(sizeof(nzUInt64) + binaryLength);
byteArray.Reserve(sizeof(nzUInt64) + binaryLength);
nzUInt8* buffer = byteArray.GetBuffer();