Add menu option to enable dynamic lights (independent of the OpenGL setting so that you can have it on in OpenGL and off in Software)

This commit is contained in:
Magnus Norddahl 2016-12-23 23:44:52 +01:00
commit 2bb2395569
6 changed files with 111 additions and 89 deletions

View file

@ -53,6 +53,8 @@
#include "r_draw_pal.h"
#include "r_thread.h"
CVAR(Bool, r_dynlights, 1, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
namespace swrenderer
{
// Needed by R_DrawFogBoundary (which probably shouldn't be part of this file)