Create CameraLight class

This commit is contained in:
Magnus Norddahl 2017-01-26 10:22:54 +01:00
commit ed05a2edd3
27 changed files with 133 additions and 96 deletions

View file

@ -1409,7 +1409,7 @@ void OpenGLSWFrameBuffer::Draw3DPart(bool copy3d)
uint32_t color0, color1;
if (Accel2D)
{
auto &map = swrenderer::realfixedcolormap;
auto &map = swrenderer::CameraLight::Instance()->realfixedcolormap;
if (map == nullptr)
{
color0 = 0;