ByteArray rewritten
Now works internally with std::vector Former-commit-id: 643f1d88b2959aed324743dbf91f831130a9198e
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user