Skip to content

Commit

Permalink
Fix formatting and variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
alsepkow committed Jan 30, 2025
1 parent 666f6dc commit cf392c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/clang/unittests/HLSLExec/ExecutionTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -822,8 +822,10 @@ class ExecutionTest {

if (GetModuleHandle("d3d10warp.dll") != NULL) {
CHAR szFullModuleFilePath[MAX_PATH] = "";
GetModuleFileName(GetModuleHandle("d3d10warp.dll"), szModuleFileName, sizeof(szModuleFileName));
WEX::Logging::Log::Comment(WEX::Common::String().Format(L"WARP driver loaded from: %S", szModuleFileName));
GetModuleFileName(GetModuleHandle("d3d10warp.dll"), szModuleFilePath,
sizeof(szModuleFilePath));
WEX::Logging::Log::Comment(WEX::Common::String().Format(
L"WARP driver loaded from: %S", szModuleFilePath));
}

} else {
Expand Down

0 comments on commit cf392c6

Please sign in to comment.