fix dedicated build caused by previous commit

This commit is contained in:
nillerusr 2023-02-03 03:40:57 +03:00
parent 3345902612
commit 6428e90fa2
3 changed files with 7 additions and 0 deletions

View File

@ -14,7 +14,10 @@
#include "filesystem_init.h" #include "filesystem_init.h"
#include "tier1/convar.h" #include "tier1/convar.h"
#include "vstdlib/cvar.h" #include "vstdlib/cvar.h"
#ifndef DEDICATED
#include "togl/rendermechanism.h" #include "togl/rendermechanism.h"
#endif
// NOTE: This has to be the last file included! (turned off below, since this is included like a header) // NOTE: This has to be the last file included! (turned off below, since this is included like a header)
#include "tier0/memdbgon.h" #include "tier0/memdbgon.h"

View File

@ -18,7 +18,9 @@
#include "ctype.h" #include "ctype.h"
#include "tier1/fmtstr.h" #include "tier1/fmtstr.h"
#ifndef DEDICATED
#include "togl/rendermechanism.h" #include "togl/rendermechanism.h"
#endif
// NOTE: This must be the last file included!!! // NOTE: This must be the last file included!!!
#include "tier0/memdbgon.h" #include "tier0/memdbgon.h"

View File

@ -12,7 +12,9 @@
#include "materialsystem/imaterial.h" #include "materialsystem/imaterial.h"
#include "tier0/vprof.h" #include "tier0/vprof.h"
#include "tier0/basetypes.h" #include "tier0/basetypes.h"
#ifndef DEDICATED
#include "togl/rendermechanism.h" #include "togl/rendermechanism.h"
#endif
#if !defined(M_PI) #if !defined(M_PI)
#define M_PI 3.14159265358979323846 #define M_PI 3.14159265358979323846