Skip to content

Commit 6428e90

Browse files
committed
fix dedicated build caused by previous commit
1 parent 3345902 commit 6428e90

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

appframework/posixapp.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
#include "filesystem_init.h"
1515
#include "tier1/convar.h"
1616
#include "vstdlib/cvar.h"
17+
18+
#ifndef DEDICATED
1719
#include "togl/rendermechanism.h"
20+
#endif
1821

1922
// NOTE: This has to be the last file included! (turned off below, since this is included like a header)
2023
#include "tier0/memdbgon.h"

materialsystem/cmatrendercontext.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
#include "ctype.h"
1919

2020
#include "tier1/fmtstr.h"
21+
#ifndef DEDICATED
2122
#include "togl/rendermechanism.h"
23+
#endif
2224

2325
// NOTE: This must be the last file included!!!
2426
#include "tier0/memdbgon.h"

tier2/renderutils.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
#include "materialsystem/imaterial.h"
1313
#include "tier0/vprof.h"
1414
#include "tier0/basetypes.h"
15+
#ifndef DEDICATED
1516
#include "togl/rendermechanism.h"
17+
#endif
1618

1719
#if !defined(M_PI)
1820
#define M_PI 3.14159265358979323846

0 commit comments

Comments
 (0)