mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Remove unused newHeader from Writer.cpp
This commit is contained in:
parent
c10e394ad7
commit
e4c21627f9
1 changed files with 0 additions and 3 deletions
|
@ -43,12 +43,9 @@ namespace ktx {
|
|||
std::unique_ptr<KTX> KTX::createBare(const Header& header, const KeyValues& keyValues) {
|
||||
auto descriptors = header.generateImageDescriptors();
|
||||
|
||||
auto newHeader = header;
|
||||
|
||||
Byte minMip = header.numberOfMipmapLevels;
|
||||
auto newKeyValues = keyValues;
|
||||
newKeyValues.emplace_back(KeyValue(HIFI_MIN_POPULATED_MIP_KEY, sizeof(Byte), &minMip));
|
||||
newHeader.bytesOfKeyValueData = KeyValue::serializedKeyValuesByteSize(newKeyValues);
|
||||
|
||||
StoragePointer storagePointer;
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue