Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 276 vs 278 for /trunk/Source Code/Environment/Terrain/Terrain.cpp

Diff revisions: vs.
  @@ -136,7 +136,7 @@
136 136 SET_STATE_BLOCK(GFX_DEVICE.isCurrentRenderStage(REFLECTION_STAGE) ? _terrainReflectionRenderStateHash : _terrainRenderStateHash);
137 137
138 138 Material::ShaderInfo& shaderInfo = getMaterial()->getShaderInfo();
139 - _drawShader->ApplyMaterial(getMaterial());
139 + getMaterial()->UploadToShader(shaderInfo);
140 140 bool temp = lightMgr.shadowMappingEnabled() && sgn->getReceivesShadows();
141 141 if(shaderInfo.getTrackedBool(1) != temp){
142 142 shaderInfo.setTrackedBool(1, temp);