Add functions to CameraLight
This commit is contained in:
parent
a0a40281b3
commit
892350ac2e
25 changed files with 83 additions and 77 deletions
|
|
@ -1409,7 +1409,7 @@ void OpenGLSWFrameBuffer::Draw3DPart(bool copy3d)
|
|||
uint32_t color0, color1;
|
||||
if (Accel2D)
|
||||
{
|
||||
auto &map = swrenderer::CameraLight::Instance()->realfixedcolormap;
|
||||
auto map = swrenderer::CameraLight::Instance()->ShaderColormap();
|
||||
if (map == nullptr)
|
||||
{
|
||||
color0 = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue