Skip to content

Commit 1ebca65

Browse files
committed
Fix macOS build.
1 parent 0b2cfdf commit 1ebca65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/CesiumRuntime/Private/CesiumGltfComponent.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3148,7 +3148,8 @@ static void loadPrimitiveGameThreadPart(
31483148

31493149
#if PLATFORM_MAC
31503150
// TODO: figure out why water material crashes mac
3151-
UMaterialInterface* pBaseMaterial = is_in_blend_mode(loadResult)
3151+
UMaterialInterface* pUserDesignatedMaterial =
3152+
is_in_blend_mode(loadResult)
31523153
? pGltf->BaseMaterialWithTranslucency
31533154
: pGltf->BaseMaterial;
31543155
#else

0 commit comments

Comments
 (0)