From 3beda6ac36f494df11851b657a4bcc967bceb79d Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Tue, 6 Aug 2024 16:34:24 +0200 Subject: wip --- modules/window-vulkan/examples/window_create.cpp | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 modules/window-vulkan/examples/window_create.cpp (limited to 'modules/window-vulkan/examples/window_create.cpp') diff --git a/modules/window-vulkan/examples/window_create.cpp b/modules/window-vulkan/examples/window_create.cpp new file mode 100644 index 0000000..a5a2ae4 --- /dev/null +++ b/modules/window-vulkan/examples/window_create.cpp @@ -0,0 +1,34 @@ +#include + +#include + +int main(){ + auto eo_aio = saw::setup_async_io(); + if(eo_aio.is_error()){ + auto& err = eo_aio.get_error(); + std::cerr<<"Error: "< 0u){ + std::cerr<<" - "<flush(); + wait.wait(std::chrono::seconds{1u}); + } + + return 0; +} -- cgit v1.2.3