clear buffer without rref

This commit is contained in:
Zach Pomerantz 2017-02-21 14:50:12 -05:00
parent 666be6912b
commit be4a9dcd5a

View file

@ -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);
};
}