Browse Source

fix dedicated build caused by previous commit

pull/192/head
nillerusr 2 years ago
parent
commit
6428e90fa2
  1. 3
      appframework/posixapp.cpp
  2. 2
      materialsystem/cmatrendercontext.cpp
  3. 2
      tier2/renderutils.cpp

3
appframework/posixapp.cpp

@ -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"

2
materialsystem/cmatrendercontext.cpp

@ -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"

2
tier2/renderutils.cpp

@ -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

Loading…
Cancel
Save