aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/CImageLoaderTGA.cpp
diff options
context:
space:
mode:
authornumzero <numzer0@yandex.ru>2023-03-25 10:42:11 +0300
committernumzero <numzer0@yandex.ru>2023-03-25 10:42:47 +0300
commitd97d1708d68a98c039db8a06c4110bfc961d3fb1 (patch)
tree1a90cd7a34793982aa9376468feb41e67d2b7cdc /source/Irrlicht/CImageLoaderTGA.cpp
parentba77d01c91a363ad932ecd26c3eaba82ddf7a6f0 (diff)
parent799c8b936f9a2cc4f3a8bc56237fb9a8dedf853e (diff)
downloadirrlicht-d97d1708d68a98c039db8a06c4110bfc961d3fb1.tar.xz
Resolve conflicts with master
Diffstat (limited to 'source/Irrlicht/CImageLoaderTGA.cpp')
-rw-r--r--source/Irrlicht/CImageLoaderTGA.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Irrlicht/CImageLoaderTGA.cpp b/source/Irrlicht/CImageLoaderTGA.cpp
index 3286bdd..d5e24a5 100644
--- a/source/Irrlicht/CImageLoaderTGA.cpp
+++ b/source/Irrlicht/CImageLoaderTGA.cpp
@@ -106,7 +106,7 @@ IImage* CImageLoaderTGA::loadImage(io::IReadFile* file) const
if (!checkImageDimensions(header.ImageWidth, header.ImageHeight))
{
- os::Printer::log("Rejecting TGA with unreasonable size.", ELL_ERROR);
+ os::Printer::log("Image dimensions too large in file", file->getFileName(), ELL_ERROR);
return 0;
}