Skip to content

Commit

Permalink
fixed rdeioris#88
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed Jan 25, 2024
1 parent b352c8c commit 51b2fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/glTFRuntime/Private/glTFRuntimeParserMaterials.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ UVolumeTexture* FglTFRuntimeParser::BuildVolumeTexture(UObject* Outer, const TAr
PlatformData->PixelFormat = Mips[0].PixelFormat;
PlatformData->SetNumSlices(TileZ);

#if ENGINE_MAJOR_VERSION > 4
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION > 0
Texture->SetPlatformData(PlatformData);
#else
Texture->PlatformData = PlatformData;
Expand Down

0 comments on commit 51b2fa7

Please sign in to comment.