Skip to content

Commit

Permalink
#5950: Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed May 1, 2022
1 parent edb6422 commit aeb7d54
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions radiantcore/rendersystem/backend/FullBrightRenderer.cpp
Expand Up @@ -81,23 +81,6 @@ IRenderResult::Ptr FullBrightRenderer::render(RenderStateFlags globalstate, cons
vertexBuffer->unbind();
indexBuffer->unbind();

#if 0
// Run all the passes with OpenGLRenderables
for (const auto& [_, pass] : _sortedStates)
{
// Render the OpenGLShaderPass
if (pass->empty() || !pass->hasRenderables()) continue;

if (pass->getShader().isVisible() && pass->isApplicableTo(_renderViewType))
{
// Apply our state to the current state object
pass->evaluateStagesAndApplyState(current, globalstate, time, nullptr);
pass->submitRenderables(current);
}

pass->clearRenderables();
}
#endif
cleanupState();

return std::make_shared<FullBrightRenderResult>(view.getCullStats());
Expand Down

0 comments on commit aeb7d54

Please sign in to comment.