Skip to content

Commit

Permalink
Last few renamings
Browse files Browse the repository at this point in the history
  • Loading branch information
azrogers committed Oct 31, 2024
1 parent a54cd26 commit a4c5e1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion native~/Runtime/src/TextureLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ UnityEngine::Texture TextureLoader::loadTexture(
return UnityEngine::Texture(nullptr);
}

const ImageAsset& imageCesium = *pImage->pCesium;
const ImageAsset& imageCesium = *pImage->pAsset;
UnityEngine::Texture unityTexture = loadTexture(imageCesium, sRGB);

const Sampler* pSampler = Model::getSafe(&model.samplers, texture.sampler);
Expand Down
2 changes: 1 addition & 1 deletion native~/Runtime/src/UnityPrepareRendererResources.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ void generateMipMaps(
case CesiumGltf::Sampler::MinFilter::LINEAR_MIPMAP_NEAREST:
case CesiumGltf::Sampler::MinFilter::NEAREST_MIPMAP_LINEAR:
case CesiumGltf::Sampler::MinFilter::NEAREST_MIPMAP_NEAREST:
CesiumGltfReader::GltfReader::generateMipMaps(*pImage->pCesium);
CesiumGltfReader::GltfReader::generateMipMaps(*pImage->pAsset);
}
}
}
Expand Down

0 comments on commit a4c5e1f

Please sign in to comment.