Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions examples/glfw_vulkan/flags.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// Build with the matching ImGui backend library and configured Vulkan/GLFW paths.
module glfw_vulkan

#flag linux -I$env('VULKAN_SDK')/include
#flag linux -I$env('VULKAN_SDK')/include/vulkan
#flag linux -I$env('VULKAN_SDK')/include/volk
#flag linux -L$env('VULKAN_SDK')/lib
#flag windows -I$env('VULKAN_SDK')/Include
#flag windows -I$env('VULKAN_SDK')/Include/vulkan
#flag windows -I$env('VULKAN_SDK')/Include/Volk
#flag windows -L$env('VULKAN_SDK')/Lib
// antono2.vulkan supplies matching Vulkan headers and Volk. Adding SDK include
// paths here can select older headers before the binding's bundled snapshot.
// GLFW
// https://www.glfw.org/docs/latest/vulkan_guide.html

Expand Down
2 changes: 1 addition & 1 deletion examples/glfw_vulkan/main.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ pub fn (mut app App) setup_vulkan(mut instance_extensions []&char) {
check_vk_result(res)
}

pub fn (mut app App) setup_vulkan_window(mut wd &impl_vulkan.Window, surface vk.SurfaceKHR, width i32, height i32) {
pub fn (mut app App) setup_vulkan_window(mut wd impl_vulkan.Window, surface vk.SurfaceKHR, width i32, height i32) {
wd.surface = surface
wd.clear_enable = true

Expand Down
Loading