Skip to content

Commit 969dc69

Browse files
GLTF Viewer: removed scene depth debug view option
1 parent 24f4808 commit 969dc69

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Samples/GLTFViewer/src/GLTFViewer.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,9 +993,8 @@ void GLTFViewer::UpdateUI()
993993
{GLTF_PBR_Renderer::DebugViewType::IridescenceThickness, "Iridescence Thickness"},
994994
{GLTF_PBR_Renderer::DebugViewType::Transmission, "Transmission"},
995995
{GLTF_PBR_Renderer::DebugViewType::Thickness, "Volume Thickness"},
996-
{GLTF_PBR_Renderer::DebugViewType::SceneDepth, "Scene Depth"},
997996
};
998-
static_assert(_countof(DebugViews) == 35, "Did you add a new debug view mode? You may want to handle it here");
997+
static_assert(static_cast<size_t>(GLTF_PBR_Renderer::DebugViewType::NumDebugViews) == 35, "Did you add a new debug view mode? You may want to handle it here");
999998

1000999
ImGui::Combo("Debug view", &m_RenderParams.DebugView, DebugViews, _countof(DebugViews), 15);
10011000
}

0 commit comments

Comments
 (0)