mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 22:39:18 +02:00
clear buffer without rref
This commit is contained in:
parent
666be6912b
commit
be4a9dcd5a
1 changed files with 2 additions and 1 deletions
|
@ -112,7 +112,8 @@ TransferJob::TransferJob(const GL45VariableAllocationTexture& parent, uint16_t s
|
||||||
|
|
||||||
_transferLambda = [=] {
|
_transferLambda = [=] {
|
||||||
_parent.copyMipFaceLinesFromTexture(targetMip, face, transferDimensions, lineOffset, format, type, _buffer.data());
|
_parent.copyMipFaceLinesFromTexture(targetMip, face, transferDimensions, lineOffset, format, type, _buffer.data());
|
||||||
_buffer.swap(std::vector<uint8_t>());
|
std::vector<uint8_t> emptyVector;
|
||||||
|
_buffer.swap(emptyVector);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue