summaryrefslogtreecommitdiff
path: root/materialsystem/materialsystem_global.cpp
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /materialsystem/materialsystem_global.cpp
downloadarchived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.tar.xz
archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.zip
Diffstat (limited to 'materialsystem/materialsystem_global.cpp')
-rw-r--r--materialsystem/materialsystem_global.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/materialsystem/materialsystem_global.cpp b/materialsystem/materialsystem_global.cpp
new file mode 100644
index 0000000..f64c155
--- /dev/null
+++ b/materialsystem/materialsystem_global.cpp
@@ -0,0 +1,20 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=====================================================================================//
+
+#include "materialsystem_global.h"
+#include "shaderapi/ishaderapi.h"
+#include "shadersystem.h"
+#include <malloc.h>
+#include "filesystem.h"
+
+// memdbgon must be the last include file in a .cpp file!!!
+#include "tier0/memdbgon.h"
+
+int g_FrameNum;
+IShaderAPI *g_pShaderAPI = 0;
+IShaderDeviceMgr* g_pShaderDeviceMgr = 0;
+IShaderDevice *g_pShaderDevice = 0;
+IShaderShadow* g_pShaderShadow = 0;