mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 11:20:42 +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 = [=] {
|
||||
_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