DrawWallAdd1Pal cannot do dynamic lights

This commit is contained in:
Magnus Norddahl 2016-12-25 07:56:09 +01:00
commit 6f86c11058
2 changed files with 5 additions and 11 deletions

View file

@ -669,8 +669,10 @@ namespace swrenderer
{
if (r_swtruecolor)
DrawerCommandQueue::QueueCommand<DrawWallAdd1LLVMCommand>();
else
else if (drawerargs::dc_num_lights == 0)
DrawerCommandQueue::QueueCommand<DrawWallAdd1PalCommand>();
else
DrawerCommandQueue::QueueCommand<DrawWallAddClamp1PalCommand>();
}
void R_DrawWallAddCol4()