From b66b72978f960438cfc7305b3b4cd9879d569f20 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Thu, 12 Jun 2025 18:08:35 +0200 Subject: [PATCH] Update miniwin/src/d3drm/d3drmmesh.cpp --- miniwin/src/d3drm/d3drmmesh.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/miniwin/src/d3drm/d3drmmesh.cpp b/miniwin/src/d3drm/d3drmmesh.cpp index 8d1d7876..653f993d 100644 --- a/miniwin/src/d3drm/d3drmmesh.cpp +++ b/miniwin/src/d3drm/d3drmmesh.cpp @@ -25,9 +25,6 @@ HRESULT Direct3DRMMeshImpl::Clone(int flags, GUID iid, void** object) auto* clone = new Direct3DRMMeshImpl(*this); - // We should not call the other meshes callbacks - clone->m_callbacks.clear(); - for (auto& group : clone->m_groups) { // Reusing the same texture and material on the new mesh instead of cloning them might not be correct if (group.texture) {