File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -88,13 +88,14 @@ IDirect3D9* CDirect3DHook9::API_Direct3DCreate9(UINT SDKVersion)
88
88
}
89
89
90
90
// D3DX_SDK_VERSION checks
91
- // August 2009 SDK required for shaders to work properly
92
- #if D3DX_SDK_VERSION != 42
91
+ // SDK required for shaders to work properly
92
+ // Accept the DirectX SDK shipped with August 2009 (42) or June 2010 (43)
93
+ #if (D3DX_SDK_VERSION != 42) && (D3DX_SDK_VERSION != 43)
93
94
WriteDebugEvent (" D3DX_SDK_VERSION incorrect " QUOTE_DEFINE (D3DX_SDK_VERSION));
94
- #pragma message( "WARNING: Microsoft DirectX SDK (August 2009) includes missing" )
95
+ #pragma message( "WARNING: Microsoft DirectX SDK (August 2009 or June 2010 ) includes missing" )
95
96
#ifndef CI_BUILD
96
97
#ifndef MTA_DEBUG
97
- #error "Microsoft DirectX SDK (August 2009) includes missing"
98
+ #error "Microsoft DirectX SDK (August 2009 or June 2010 ) includes missing"
98
99
#endif
99
100
#endif
100
101
#endif
You can’t perform that action at this time.
0 commit comments