Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 758aa0c

Browse files
Update the vulkan_glfw sample for the latest roll of vulkan-deps (#50839)
1 parent d7c6f76 commit 758aa0c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

examples/vulkan_glfw/BUILD.gn

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
executable("vulkan_glfw") {
66
output_name = "embedder_example_vulkan"
77

8+
configs -= [ "//build/config/compiler:chromium_code" ]
9+
configs += [ "//build/config/compiler:no_chromium_code" ]
10+
811
sources = [ "src/main.cc" ]
912

1013
deps = [

examples/vulkan_glfw/src/main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ int main(int argc, char** argv) {
512512
}
513513

514514
// Load instance procs.
515-
VULKAN_HPP_DEFAULT_DISPATCHER.init(g_state.instance);
515+
VULKAN_HPP_DEFAULT_DISPATCHER.init(vk::Instance(g_state.instance));
516516

517517
/// --------------------------------------------------------------------------
518518
/// Create the window surface.

0 commit comments

Comments
 (0)