From 07c8253c2621daab8a08713aae557ae1fdea5df0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 Dec 2020 18:05:25 +0100 Subject: Print an error message in Vulkan demo when shaders are not found --- examples/pugl_vulkan_cxx_demo.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'examples') diff --git a/examples/pugl_vulkan_cxx_demo.cpp b/examples/pugl_vulkan_cxx_demo.cpp index 632f784..0a86d16 100644 --- a/examples/pugl_vulkan_cxx_demo.cpp +++ b/examples/pugl_vulkan_cxx_demo.cpp @@ -693,6 +693,7 @@ readFile(const std::string& filename) &fclose}; if (!file) { + std::cerr << "Failed to open file '" << filename << "'\n"; return {}; } -- cgit v1.2.1