diff options
| author | iamcheeseman <[hidden email]> | 2026-01-15 16:17:16 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-01-15 16:17:16 -0500 |
| commit | 86738d3406671046ce50a2d1b07d858e14b2f968 (patch) | |
| tree | 3261e9fb85d7a438a6d5e37df447e209e3b26532 /src/resources.odin | |
| parent | 4563dfa077e029fbefd192f087338d186155ebfc (diff) | |
Ensure upwards and downwards transitions work
Diffstat (limited to 'src/resources.odin')
| -rw-r--r-- | src/resources.odin | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources.odin b/src/resources.odin index 0a4f843..537c265 100644 --- a/src/resources.odin +++ b/src/resources.odin @@ -1,5 +1,7 @@ package demonchime +import "core:log" + import rl "vendor:raylib" Image_Resource :: struct { @@ -67,7 +69,7 @@ get_image :: proc(id: Image_Id) -> rl.Texture2D { i32(len(img_res.data)), ) if !rl.IsImageValid(rl_img) { - die("Could not load asset %v", id) + log.warnf("Could not load asset %v", id) } img_res.texture = rl.LoadTextureFromImage(rl_img) |
