Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 908 vs 909 for /trunk/Source Code/Rendering/Lighting/ShadowMapping/CubeShadowMap.cpp

Diff revisions: vs.
  @@ -25,7 +25,7 @@
25 25
26 26 for (U32 i = 0; i < 6; ++i) {
27 27 GFXDevice::DebugView_ptr shadow = std::make_shared<GFXDevice::DebugView>();
28 - shadow->_texture = getDepthMap().getAttachment(RTAttachment::Type::Depth, 0).asTexture();
28 + shadow->_texture = getDepthMap().getAttachment(RTAttachment::Type::Depth, 0).texture();
29 29 shadow->_shader = _previewDepthMapShader;
30 30 shadow->_shaderData._intValues.push_back(std::make_pair("layer", _arrayOffset));
31 31 shadow->_shaderData._intValues.push_back(std::make_pair("face", i));