Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-Leo-Smith committed Dec 24, 2024
1 parent dd783c9 commit 63eb308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/test_path_tracing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ int main(int argc, char *argv[]) {

Window window{"path tracing", resolution};
Swapchain swap_chain;
if (luisa::string_view{argv[1]} == "dx") {
if (device.backend_name() == "dx") {
auto dx_hdr_ext = device.extension<DXHDRExt>();
swap_chain = dx_hdr_ext->create_swapchain(
stream,
Expand Down

0 comments on commit 63eb308

Please sign in to comment.