Split r_main into r_viewport, r_scene and r_light

This commit is contained in:
Magnus Norddahl 2017-01-12 16:21:46 +01:00
commit 80e1844d6c
63 changed files with 893 additions and 945 deletions

View file

@ -57,7 +57,6 @@
#include "v_pfx.h"
#include "stats.h"
#include "doomerrors.h"
#include "swrenderer/r_main.h"
#include "r_data/r_translate.h"
#include "f_wipe.h"
#include "sbar.h"
@ -72,6 +71,8 @@
#include "gl/gl_functions.h"
#include "gl_debug.h"
#include "swrenderer/scene/r_light.h"
CVAR(Int, gl_showpacks, 0, 0)
#ifndef WIN32 // Defined in fb_d3d9 for Windows
CVAR(Bool, vid_hwaalines, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)