Skip to content

Commit 9d78243

Browse files
committed
remove unused variables
1 parent 8355881 commit 9d78243

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/nbl/asset/interchange/CGLILoader.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,16 +193,13 @@ namespace nbl
193193
for (uint16_t mipLevel = 0; mipLevel < imageInfo.mipLevels; ++mipLevel)
194194
{
195195
const auto layerSize = getFullSizeOfLayer(mipLevel);
196-
const auto mipOffset = (mipLevel * imageInfo.arrayLayers);
197196

198197
for (uint16_t layer = 0; layer < imageInfo.arrayLayers; ++layer)
199198
{
200199
const auto layersData = getCurrentGliLayerAndFace(layer);
201200
const auto gliLayer = layersData.first;
202201
const auto gliFace = layersData.second;
203202

204-
const auto pOffset = mipOffset + layer;
205-
206203
auto regionData = (reinterpret_cast<uint8_t*>(data) + tmpDataSizePerRegionSum + (layer * layerSize));
207204
assignGLIDataToRegion(regionData, texture, gliLayer, gliFace, mipLevel, layerSize);
208205

0 commit comments

Comments
 (0)