Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 296 vs 299 for /trunk/Source Code/Rendering/Lighting/ShadowMapping/SingleShadowMap.cpp

Diff revisions: vs.
  @@ -76,6 +76,5 @@
76 76
77 77 void SingleShadowMap::previewShadowMaps(){
78 78 _depthMap->Bind(ShaderProgram::TEXTURE_UNIT0);
79 - _previewDepthMapShader->bind();
80 - GFX_DEVICE.drawPoints(1, GFX_DEVICE.getDefaultStateBlock(true));
79 + GFX_DEVICE.drawPoints(1, GFX_DEVICE.getDefaultStateBlock(true), _previewDepthMapShader);
81 80 }