Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 334 vs 343 for /trunk/Source Code/Rendering/Lighting/ShadowMapping/SingleShadowMap.cpp

Diff revisions: vs.
  @@ -16,7 +16,7 @@
16 16 shadowCamera,
17 17 SHADOW_TYPE_Single)
18 18 {
19 - PRINT_FN(Locale::get("LIGHT_CREATE_SHADOW_FB"), light->getGUID(), "Single Shadow Map");
19 + Console::printfn(Locale::get("LIGHT_CREATE_SHADOW_FB"), light->getGUID(), "Single Shadow Map");
20 20 ResourceDescriptor shadowPreviewShader("fbPreview.LinearDepth");
21 21 shadowPreviewShader.setThreadedLoading(false);
22 22 _previewDepthMapShader = CreateResource<ShaderProgram>(shadowPreviewShader);
  @@ -49,7 +49,7 @@
49 49 if (resolutionTemp != _resolution) {
50 50 _resolution = resolutionTemp;
51 51 //Initialize the FB's with a variable resolution
52 - PRINT_FN(Locale::get("LIGHT_INIT_SHADOW_FB"), _light->getGUID());
52 + Console::printfn(Locale::get("LIGHT_INIT_SHADOW_FB"), _light->getGUID());
53 53 _depthMap->Create(_resolution, _resolution);
54 54 }
55 55
  @@ -60,7 +60,7 @@
60 60 const DELEGATE_CBK<>& sceneRenderFunction) {
61 61 ///Only if we have a valid callback;
62 62 if (!sceneRenderFunction) {
63 - ERROR_FN(Locale::get("ERROR_LIGHT_INVALID_SHADOW_CALLBACK"), _light->getGUID());
63 + Console::errorfn(Locale::get("ERROR_LIGHT_INVALID_SHADOW_CALLBACK"), _light->getGUID());
64 64 return;
65 65 }
66 66