We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff0a18b commit 7436120Copy full SHA for 7436120
1 file changed
tools/clang/unittests/HLSLExec/ExecutionTest.cpp
@@ -820,10 +820,10 @@ class ExecutionTest {
820
return false;
821
}
822
823
- if (GetModuleHandle("d3d10warp.dll") != NULL) {
824
- CHAR szFullModuleFilePath[MAX_PATH] = "";
825
- GetModuleFileName(GetModuleHandle("d3d10warp.dll"),
826
- szFullModuleFilePath, sizeof(szFullModuleFilePath));
+ if (GetModuleHandleW(L"d3d10warp.dll") != NULL) {
+ WCHAR szFullModuleFilePath[MAX_PATH] = L"";
+ GetModuleFileNameW(GetModuleHandleW(L"d3d10warp.dll"),
+ szFullModuleFilePath, sizeof(szFullModuleFilePath));
827
WEX::Logging::Log::Comment(WEX::Common::String().Format(
828
L"WARP driver loaded from: %S", szFullModuleFilePath));
829
0 commit comments