diff -r aa8e7a38905c -r 8433c87c0f51 src/texture.c --- a/src/texture.c Mon Apr 21 17:52:01 2025 +0200 +++ b/src/texture.c Tue Apr 22 19:36:27 2025 +0200 @@ -99,8 +99,7 @@ SDL_Surface *image = IMG_Load(filepath.ptr); cx_strfree(&filepath); if (image == NULL) { - asc_error("Failed to load texture."); - asc_error(IMG_GetError()); + asc_error("Failed to load texture: %s", IMG_GetError()); return; } asc_texture_from_surface(tex, image);