Skip to content

Commit

Permalink
Fix variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
Mag1str02 committed Jan 12, 2025
1 parent e0b1b41 commit 96d0360
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DummyEngine/Core/Scene/SceneRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ namespace DummyEngine {
shadow_map_->SetDepthAttachment(Texture::Format::F32);
Console::OnCommand("r_shadowmap_resize", [&]() {
LOG_INFO("ShadowMap resize");
m_ShadowMap->Resize(static_cast<U32>(Console::GetInt("r_shadowmap_width")), static_cast<U32>(Console::GetInt("r_shadowmap_height")));
m_PointShadowCubemaps.clear();
m_PointShadowFrameBuffers.clear();
shadow_map_->Resize(static_cast<U32>(Console::GetInt("r_shadowmap_width")), static_cast<U32>(Console::GetInt("r_shadowmap_height")));
point_shadow_cubemaps_.clear();
point_shadow_map_.clear();
});
}
} // namespace DummyEngine

0 comments on commit 96d0360

Please sign in to comment.