Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-Leo-Smith committed Feb 12, 2025
1 parent f637a7e commit 18c5b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/common/hlsl/shader_compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ShaderCompilerModule::ShaderCompilerModule(std::filesystem::path const &path)
if (!dxcCompiler) {
LUISA_ERROR("dxcompiler.dll not found.");
}
auto voidPtr = dxcCompiler.address("DxcCreateInstance"sv);
auto voidPtr = dxcCompiler.address("DxcCreateInstance");
HRESULT(WINAPI * DxcCreateInstance)
(const IID &, const IID &, LPVOID *) =
reinterpret_cast<HRESULT(WINAPI *)(const IID &, const IID &, LPVOID *)>(voidPtr);
Expand Down

0 comments on commit 18c5b7d

Please sign in to comment.