Skip to content

Commit

Permalink
fix extension error
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNumbat committed Sep 28, 2024
1 parent db81902 commit 1896e03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rvk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ elseif(CLANG)
message(FATAL_ERROR "Unsupported Clang version: only 17+ is supported.")
endif()

target_compile_options(rvk PRIVATE -Wall -Wextra -fno-exceptions -fno-rtti)
target_compile_options(rvk PRIVATE -Wall -Wextra -fno-exceptions -fno-rtti -Wno-missing-field-initializers)
else()
message(FATAL_ERROR "Unsupported compiler: only MSVC and Clang are supported.")
endif()
4 changes: 2 additions & 2 deletions rvk/instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ Arc<Physical_Device, Alloc> Instance::physical_device(VkSurfaceKHR surface, bool
if(device->supports_extension(String_View{extension})) {
info("[rvk] Found extension: %", String_View{extension});
} else {
info("[rvk] Device does not support extension %", extension);
info("[rvk] Device does not support extension %", String_View{extension});
supported = false;
break;
}
Expand All @@ -363,7 +363,7 @@ Arc<Physical_Device, Alloc> Instance::physical_device(VkSurfaceKHR surface, bool
info("[rvk] Found ray tracing extension: %", String_View{extension});
} else {
info("[rvk] Device does not support ray tracing extension %",
extension);
String_View{extension});
supported = false;
break;
}
Expand Down

0 comments on commit 1896e03

Please sign in to comment.