Fixed: Software rendered models checked the wrong CVAR for enabled dynamic lights.
This commit is contained in:
parent
f8272287d2
commit
e402babfc0
2 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ PolyModelRenderer::PolyModelRenderer(PolyRenderThread *thread, const Mat4f &worl
|
|||
|
||||
void PolyModelRenderer::AddLights(AActor *actor)
|
||||
{
|
||||
if (gl_lights && actor)
|
||||
if (r_dynlights && actor)
|
||||
{
|
||||
auto &addedLights = Thread->AddedLightsArray;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue