diff options
Diffstat (limited to 'src/native/d3d/StdAfx.h')
-rw-r--r-- | src/native/d3d/StdAfx.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/native/d3d/StdAfx.h b/src/native/d3d/StdAfx.h index 020e69e..d653594 100644 --- a/src/native/d3d/StdAfx.h +++ b/src/native/d3d/StdAfx.h @@ -7,12 +7,20 @@ * * $Revision$ * $Date$ - * $State$ + * $State$_WIN32_WINNT */ #if !defined(AFX_STDAFX_H) #define AFX_STDAFX_H +#ifndef WINVER +#define WINVER 0x0501 +#endif + +#ifndef _WIN32_WINNT +#define _WIN32_WINNT 0x0501 +#endif + #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 @@ -35,9 +43,9 @@ #include <jni.h> #include <math.h> #define D3D_OVERLOADS -#include <d3d8.h> -#include <dxerr8.h> -#include <d3dx8.h> +#include <d3d9.h> +#include <dxerr9.h> +#include <d3dx9.h> #include <vector> #include <algorithm> using namespace std ; @@ -52,3 +60,4 @@ using namespace std ; #include "D3dDisplayList.hpp" #include "D3dImageComponent.hpp" #endif + |