From 64a6de6f3d0ef5c146c10b553378e8a75c493307 Mon Sep 17 00:00:00 2001 From: Kevin Ring Date: Fri, 1 Nov 2024 10:34:04 +1100 Subject: [PATCH] Don't use deprecated method. --- native~/Runtime/src/UnityPrepareRendererResources.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native~/Runtime/src/UnityPrepareRendererResources.cpp b/native~/Runtime/src/UnityPrepareRendererResources.cpp index 4262ead8..07085679 100644 --- a/native~/Runtime/src/UnityPrepareRendererResources.cpp +++ b/native~/Runtime/src/UnityPrepareRendererResources.cpp @@ -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); } } }