Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 221 vs 239 for /trunk/Source Code/Rendering/Lighting/ShadowMapping/Headers/ShadowMap.h

Diff revisions: vs.
  @@ -43,7 +43,7 @@
43 43 ShadowMap(Light* light, ShadowType type);
44 44 virtual ~ShadowMap();
45 45 ///Render the scene and save the frame to the shadow map
46 - virtual void render(const SceneRenderState& renderState, boost::function0<void> sceneRenderFunction) = 0;
46 + virtual void render(const SceneRenderState& renderState, const DELEGATE_CBK& sceneRenderFunction) = 0;
47 47 ///Setup needed before rendering the light
48 48 void preRender();
49 49 ///Setup needed after rendering the light
  @@ -69,7 +69,7 @@
69 69 ///A global resolution factor for all methods (higher = better quality)
70 70 F32 _resolutionFactor;
71 71 U16 _maxResolution;
72 - boost::function0<void> _callback;
72 + DELEGATE_CBK _callback;
73 73 ///Internal pointer to the parrent light
74 74 Light* _light;
75 75 ParamHandler& _par;