diff --git a/tools/hello.cpp b/tools/hello.cpp index 76fbdd5..0681d33 100644 --- a/tools/hello.cpp +++ b/tools/hello.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -501,8 +502,9 @@ main (void) //------------------------------------------------------------------------- - auto vert_module = cruft::vk::make_owned (ldevice, "./hello.vert.spv"); - auto frag_module = cruft::vk::make_owned (ldevice, "./hello.frag.spv"); + auto const cwd = cruft::image_path ().parent_path (); + auto vert_module = cruft::vk::make_owned (ldevice, cwd / "hello.vert.spv"); + auto frag_module = cruft::vk::make_owned (ldevice, cwd / "hello.frag.spv"); //-------------------------------------------------------------------------