Browse Source

Reverted code which was only needed when SetDepthStencil() committed the FBO changes.

Lasse Öörni 14 years ago
parent
commit
cc51e1a40c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Engine/Graphics/View.cpp

+ 0 - 2
Engine/Graphics/View.cpp

@@ -1155,8 +1155,6 @@ void View::RenderBatchesDeferred()
         graphics_->ResetRenderTarget(1);
         graphics_->ResetRenderTarget(2);
         graphics_->ResetRenderTarget(3);
-        graphics_->SetDepthStencil(depthStencil);
-        graphics_->SetViewport(viewRect_);
     }
     
     // Render shadow maps + light volumes