We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8058af5 commit 2daba7bCopy full SHA for 2daba7b
Client/core/DXHook/CDirect3DHook9.cpp
@@ -88,13 +88,14 @@ IDirect3D9* CDirect3DHook9::API_Direct3DCreate9(UINT SDKVersion)
88
}
89
90
// D3DX_SDK_VERSION checks
91
- // August 2009 SDK required for shaders to work properly
92
- #if D3DX_SDK_VERSION != 42
+ // SDK required for shaders to work properly
+ // Accept the DirectX SDK shipped with August 2009 (42) or June 2010 (43)
93
+ #if (D3DX_SDK_VERSION != 42) && (D3DX_SDK_VERSION != 43)
94
WriteDebugEvent("D3DX_SDK_VERSION incorrect " QUOTE_DEFINE(D3DX_SDK_VERSION));
- #pragma message( "WARNING: Microsoft DirectX SDK (August 2009) includes missing" )
95
+ #pragma message( "WARNING: Microsoft DirectX SDK (August 2009 or June 2010) includes missing" )
96
#ifndef CI_BUILD
97
#ifndef MTA_DEBUG
- #error "Microsoft DirectX SDK (August 2009) includes missing"
98
+ #error "Microsoft DirectX SDK (August 2009 or June 2010) includes missing"
99
#endif
100
101
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments