Skip to content

Commit

Permalink
Actually fix compile on ASW
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpyneDreams committed Dec 7, 2024
1 parent b156d82 commit c9efd25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vphysics_jolt/vjolt_debugrender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ JoltPhysicsDebugRenderer::~JoltPhysicsDebugRenderer()
JoltPhysicsDebugRenderer::BatchImpl::~BatchImpl()
{
CMatRenderContextPtr pRenderContext(g_pMaterialSystem);
for (IMesh* pMesh : m_Meshes)
pRenderContext->DestroyStaticMesh(pMesh);
for (uint i = 0; i < m_Meshes.Count(); i++)
pRenderContext->DestroyStaticMesh(m_Meshes[i]);
}

void JoltPhysicsDebugRenderer::DrawLine( JPH::Vec3Arg inFrom, JPH::Vec3Arg inTo, JPH::ColorArg inColor )
Expand Down

0 comments on commit c9efd25

Please sign in to comment.