Skip to content

Commit

Permalink
Don't use deprecated method.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Oct 31, 2024
1 parent a4c5e1f commit 64a6de6
Showing 1 changed file with 1 addition and 1 deletion.
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->pAsset);
CesiumGltfReader::ImageDecoder::generateMipMaps(*pImage->pAsset);
}
}
}
Expand Down

0 comments on commit 64a6de6

Please sign in to comment.