Commit 20b52b61 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

d3dcompiler/tests: Load the correct d3dcompiler DLL in the HLSL tests.

parent d024b33c
......@@ -630,7 +630,11 @@ static BOOL load_d3dcompiler(void)
{
HMODULE module;
#if D3D_COMPILER_VERSION == 47
if (!(module = LoadLibraryA("d3dcompiler_47.dll"))) return FALSE;
#else
if (!(module = LoadLibraryA("d3dcompiler_43.dll"))) return FALSE;
#endif
ppD3DCompile = (void*)GetProcAddress(module, "D3DCompile");
return TRUE;
......@@ -648,7 +652,7 @@ START_TEST(hlsl)
if (!load_d3dcompiler())
{
win_skip("Could not load d3dcompiler_43.dll\n");
win_skip("Could not load DLL.\n");
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment