aboutsummaryrefslogtreecommitdiff
path: root/cmd/demo
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2021-12-09 16:54:43 +0100
committerDrew DeVault <sir@cmpwn.com>2021-12-09 16:54:43 +0100
commit9f2b3b05c669eb2d6d3d4ef244c7ea4e23ebd485 (patch)
tree24b4098b384eb77007aa633d226f78056babd597 /cmd/demo
parentcmd/demo: refactoring (diff)
downloadhare-chip8-9f2b3b05c669eb2d6d3d4ef244c7ea4e23ebd485.tar.gz
cmd/demo: fix texture loading error message
Diffstat (limited to '')
-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;