aboutsummaryrefslogtreecommitdiff
path: root/cmd/demo/main.ha
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/demo/main.ha')
-rw-r--r--cmd/demo/main.ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/demo/main.ha b/cmd/demo/main.ha
index cdb290c..50d61b4 100644
--- a/cmd/demo/main.ha
+++ b/cmd/demo/main.ha
@@ -108,7 +108,7 @@ fn load_object(render: *sdl2::renderer, path: str) object = {
case let tex: *sdl2::texture =>
yield tex;
case null =>
- fmt::fatal("sdl2::image::load_texture failed for cat.png");
+ fmt::fatal("sdl2::image::load_texture failed for {}", path);
};
let w = 0, h = 0;