Commit 22c0936c authored by Philip Trettner's avatar Philip Trettner

Removed superfluous viewport setting

parent 4be372f0
......@@ -82,7 +82,7 @@ void RenderingPipeline::render(const std::function<void(RenderPass const& pass)>
{
GLOW_SCOPED(enable, GL_DEPTH_TEST);
GLOW_SCOPED(enable, GL_CULL_FACE);
GLOW_SCOPED(viewport, 0, 0, mWidth, mHeight);
// GLOW_SCOPED(viewport, 0, 0, mWidth, mHeight); // - automatic
camera::FixedCamera cam(mCamera->getPosition(), //
mCamera->getViewMatrix(), //
......@@ -164,7 +164,7 @@ void RenderingPipeline::render(const std::function<void(RenderPass const& pass)>
// Post-processing
{
GLOW_SCOPED(viewport, 0, 0, mWidth, mHeight);
// GLOW_SCOPED(viewport, 0, 0, mWidth, mHeight); // - automatic
// Transparency resolve
if (mTransparentPass)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment