aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/d3d/StdAfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/d3d/StdAfx.h')
-rw-r--r--src/native/d3d/StdAfx.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/native/d3d/StdAfx.h b/src/native/d3d/StdAfx.h
index d653594..4e86990 100644
--- a/src/native/d3d/StdAfx.h
+++ b/src/native/d3d/StdAfx.h
@@ -25,11 +25,20 @@
#pragma once
#endif // _MSC_VER > 1000
+#ifndef _MT
+#define _MT
+#endif
+
// Exclude rarely-used stuff from Windows headers
+#define VC_EXTRALEAN
#define WIN32_LEAN_AND_MEAN
+
+//#undef _AFXDLL
+//#undef _UNICODE
+
// Windows Header Files:
-#include <afx.h>
+#include <afx.h>
#include <winbase.h>
#include <windows.h>
#include <multimon.h>
@@ -46,6 +55,7 @@
#include <d3d9.h>
#include <dxerr9.h>
#include <d3dx9.h>
+#include <d3dx9tex.h>
#include <vector>
#include <algorithm>
using namespace std ;