Skip to content

Commit 1896e03

Browse files
committed
fix extension error
1 parent db81902 commit 1896e03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rvk/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ elseif(CLANG)
9393
message(FATAL_ERROR "Unsupported Clang version: only 17+ is supported.")
9494
endif()
9595

96-
target_compile_options(rvk PRIVATE -Wall -Wextra -fno-exceptions -fno-rtti)
96+
target_compile_options(rvk PRIVATE -Wall -Wextra -fno-exceptions -fno-rtti -Wno-missing-field-initializers)
9797
else()
9898
message(FATAL_ERROR "Unsupported compiler: only MSVC and Clang are supported.")
9999
endif()

rvk/instance.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ Arc<Physical_Device, Alloc> Instance::physical_device(VkSurfaceKHR surface, bool
352352
if(device->supports_extension(String_View{extension})) {
353353
info("[rvk] Found extension: %", String_View{extension});
354354
} else {
355-
info("[rvk] Device does not support extension %", extension);
355+
info("[rvk] Device does not support extension %", String_View{extension});
356356
supported = false;
357357
break;
358358
}
@@ -363,7 +363,7 @@ Arc<Physical_Device, Alloc> Instance::physical_device(VkSurfaceKHR surface, bool
363363
info("[rvk] Found ray tracing extension: %", String_View{extension});
364364
} else {
365365
info("[rvk] Device does not support ray tracing extension %",
366-
extension);
366+
String_View{extension});
367367
supported = false;
368368
break;
369369
}

0 commit comments

Comments
 (0)