From 5cad5c0fb5890c899118fcb3551065d99d6827d1 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Tue, 2 Jan 2024 15:17:45 -0800 Subject: [PATCH] Remove todo in gpu ray test (#949) Remove code as mentioned in the todo note now that the OgreHeightmap::Destroy function is available. The test should not crash. Signed-off-by: Ian Chen --- test/integration/gpu_rays.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/integration/gpu_rays.cc b/test/integration/gpu_rays.cc index 2e5c79133..63413af51 100644 --- a/test/integration/gpu_rays.cc +++ b/test/integration/gpu_rays.cc @@ -1024,14 +1024,6 @@ TEST_F(GpuRaysTest, GZ_UTILS_TEST_DISABLED_ON_WIN32(Heightmap)) delete [] scan; scan = nullptr; - // \todo(iche033) Implement Ogre2Heightmap::Destroy function in gz-rendering8 - // this should not be needed once Ogre2Heightmap::Destroy is implemented. - if (engine->Name() == "ogre2") - { - vis->Destroy(); - heightmap.reset(); - } - // Clean up engine->DestroyScene(scene); }