fixing error message

This commit is contained in:
2025-01-24 20:23:28 +01:00
parent 7e0664a28f
commit 69502db0ee
3 changed files with 13 additions and 12 deletions

View File

@@ -392,12 +392,12 @@ namespace mlx
if(!std::filesystem::exists(file))
{
Error("Image: file not found %", file);
Error("Image loader: file not found %", file);
return nullptr;
}
if(stbi_is_hdr(filename.c_str()))
{
Error("Texture: unsupported image format from % (HDR image)", file);
Error("Image loader: unsupported image format from % (HDR image)", file);
return nullptr;
}