Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 247 vs 249 for /trunk/Source Code/Rendering/Lighting/ShadowMapping/ShadowMap.cpp

Diff revisions: vs.
  @@ -21,7 +21,7 @@
21 21 }
22 22
23 23 ShadowMapInfo::ShadowMapInfo(Light* light) : _light(light),
24 - _shadowMap(NULL)
24 + _shadowMap(nullptr)
25 25 {
26 26 _resolution = 1024;
27 27 _numSplits = 3;
  @@ -34,7 +34,7 @@
34 34 ShadowMap* ShadowMapInfo::getOrCreateShadowMap(const SceneRenderState& renderState){
35 35 if(_shadowMap) return _shadowMap;
36 36
37 - if(!_light->castsShadows()) return NULL;
37 + if(!_light->castsShadows()) return nullptr;
38 38
39 39 switch(_light->getLightType()){
40 40 case LIGHT_TYPE_POINT: