Utility/STBSaver: Fix failure error message
Former-commit-id: 5985737a6e1690e66c8e1a2c6a4edb2c74aebdb0
This commit is contained in:
parent
0a17aacae6
commit
d8610d139b
|
|
@ -173,7 +173,7 @@ namespace Nz
|
|||
|
||||
if (!stbi_write_hdr_to_func(&WriteToStream, &stream, tempImage.GetWidth(), tempImage.GetHeight(), componentCount, reinterpret_cast<const float*>(tempImage.GetConstPixels())))
|
||||
{
|
||||
NazaraError("Failed to write BMP to stream");
|
||||
NazaraError("Failed to write HDR to stream");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -193,7 +193,7 @@ namespace Nz
|
|||
|
||||
if (!stbi_write_png_to_func(&WriteToStream, &stream, tempImage.GetWidth(), tempImage.GetHeight(), componentCount, tempImage.GetConstPixels(), 0))
|
||||
{
|
||||
NazaraError("Failed to write BMP to stream");
|
||||
NazaraError("Failed to write PNG to stream");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -213,7 +213,7 @@ namespace Nz
|
|||
|
||||
if (!stbi_write_tga_to_func(&WriteToStream, &stream, tempImage.GetWidth(), tempImage.GetHeight(), componentCount, tempImage.GetConstPixels()))
|
||||
{
|
||||
NazaraError("Failed to write BMP to stream");
|
||||
NazaraError("Failed to write TGA to stream");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue