Skip to content

Commit fd1696a

Browse files
authored
Merge pull request #191 from YuCrazing/master
Fixed compilation issue without RayTracing support in RHI
2 parents 95d924c + 11a8c8c commit fd1696a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Source/RuntimeMeshComponent/Private/RuntimeMeshProxy.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,9 @@ void FRuntimeMeshProxy::ApplyMeshToSection(int32 LODIndex, int32 SectionId, FRun
547547
FRuntimeMeshSectionProxyBuffers& Buffers = *Section.Buffers.Get();
548548

549549
Buffers.VertexFactory.ReleaseResource();
550+
#if RHI_RAYTRACING
550551
Buffers.RayTracingGeometry.ReleaseResource();
552+
#endif
551553
}
552554

553555
check(!Section.CanRender() || Section.Buffers->VertexFactory.IsInitialized());

0 commit comments

Comments
 (0)