Add functions to CameraLight

This commit is contained in:
Magnus Norddahl 2017-02-03 09:00:46 +01:00
commit 892350ac2e
25 changed files with 83 additions and 77 deletions

View file

@ -148,9 +148,9 @@ namespace swrenderer
}
CameraLight *cameraLight = CameraLight::Instance();
if (cameraLight->fixedcolormap)
if (cameraLight->FixedColormap())
{
drawerargs.SetLight(cameraLight->fixedcolormap, 0, 0);
drawerargs.SetLight(cameraLight->FixedColormap(), 0, 0);
}
else
{