aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-11 18:05:25 +0100
committerDavid Robillard <d@drobilla.net>2020-12-11 18:05:25 +0100
commit07c8253c2621daab8a08713aae557ae1fdea5df0 (patch)
tree7ab2207dda095db202ca5d26ad3d52e234708da2 /examples
parent2f48c3e6b77c6cfe6afba8bb6d5448692b6b3316 (diff)
downloadpugl-07c8253c2621daab8a08713aae557ae1fdea5df0.tar.gz
pugl-07c8253c2621daab8a08713aae557ae1fdea5df0.tar.bz2
pugl-07c8253c2621daab8a08713aae557ae1fdea5df0.zip
Print an error message in Vulkan demo when shaders are not found
Diffstat (limited to 'examples')
-rw-r--r--examples/pugl_vulkan_cxx_demo.cpp1
1 files changed, 1 insertions, 0 deletions
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 {};
}