diff options
author | a_afra <a_afra@users.sourceforge.net> | 2010-09-04 01:43:24 +0400 |
---|---|---|
committer | a_afra <a_afra@users.sourceforge.net> | 2010-09-04 01:43:24 +0400 |
commit | 23db6293eb1a0c929ff2a4ac76f313c22e923dde (patch) | |
tree | d97891356d8121abb7e3cba4c06e29b1a38bd729 /src/filters/renderer | |
parent | 9796e6156d497752f90981dfcee1426f87f0a1d2 (diff) |
Changed the D3DX error message
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2463 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/renderer')
3 files changed, 5 insertions, 2 deletions
diff --git a/src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp b/src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp index bf51b8e9c..298700e5f 100644 --- a/src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp +++ b/src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp @@ -92,7 +92,7 @@ CDX9AllocatorPresenter::CDX9AllocatorPresenter(HWND hWnd, bool bFullscreen, HRES }
else
{
- _Error += L"No D3DX9 dll found. To enable stats, shaders and complex resizers, please make sure to install the latest DirectX End-User Runtime.\n";
+ _Error += L"The installed DirectX End-User Runtime is outdated. Please download and install the " DIRECTX_SDK_DATE L" release or newer in order for MPC-HC to function properly.\n";
}
m_pDwmIsCompositionEnabled = NULL;
diff --git a/src/filters/renderer/VideoRenderers/RenderersSettings.h b/src/filters/renderer/VideoRenderers/RenderersSettings.h index 214c198f6..51bac4b21 100644 --- a/src/filters/renderer/VideoRenderers/RenderersSettings.h +++ b/src/filters/renderer/VideoRenderers/RenderersSettings.h @@ -23,6 +23,9 @@ #pragma once
+// The date of the DirectX SDK used for compilation
+#define DIRECTX_SDK_DATE L"June 2010"
+
enum
{
WM_REARRANGERENDERLESS = WM_APP+1,
diff --git a/src/filters/renderer/VideoRenderers/SyncRenderer.cpp b/src/filters/renderer/VideoRenderers/SyncRenderer.cpp index 9370eb226..f1b064b6f 100644 --- a/src/filters/renderer/VideoRenderers/SyncRenderer.cpp +++ b/src/filters/renderer/VideoRenderers/SyncRenderer.cpp @@ -194,7 +194,7 @@ CBaseAP::CBaseAP(HWND hWnd, bool bFullscreen, HRESULT& hr, CString &_Error): }
else
{
- _Error += L"No D3DX9 dll found. To enable stats, shaders and complex resizers, please install the latest DirectX End-User Runtime.\n";
+ _Error += L"The installed DirectX End-User Runtime is outdated. Please download and install the " DIRECTX_SDK_DATE L" release or newer in order for MPC-HC to function properly.\n";
}
m_pDwmIsCompositionEnabled = NULL;
|