Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 279 vs 280 for /trunk/Source Code/Environment/Terrain/Terrain.cpp

Diff revisions: vs.
  @@ -150,9 +150,7 @@
150 150 }
151 151
152 152 bool Terrain::prepareDepthMaterial(SceneGraphNode* const sgn){
153 - bool depthPrePass = GFX_DEVICE.isDepthPrePass();
154 -
155 - SET_STATE_BLOCK(depthPrePass ? _terrainRenderStateHash : _terrainDepthRenderStateHash);
153 + SET_STATE_BLOCK(GFX_DEVICE.isDepthPrePass() ? _terrainRenderStateHash : _terrainDepthRenderStateHash);
156 154 _plane->setCustomShader(_drawShader);
157 155
158 156 return _drawShader->bind();