summaryrefslogtreecommitdiffstats
path: root/TextureLoader/src/Image.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2017-12-28 06:07:38 +0000
committerEgor Yusov <egor.yusov@gmail.com>2017-12-28 06:07:38 +0000
commitcb36c7de7c913dcee790b318484b1c12c8936825 (patch)
tree80df549f36fa0ecb083d70e3834680b19ba27af2 /TextureLoader/src/Image.cpp
parentAdded HLSL2GLSLConverter project (diff)
downloadDiligentTools-cb36c7de7c913dcee790b318484b1c12c8936825.tar.gz
DiligentTools-cb36c7de7c913dcee790b318484b1c12c8936825.zip
Updated debug and error macros
Diffstat (limited to 'TextureLoader/src/Image.cpp')
-rw-r--r--TextureLoader/src/Image.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TextureLoader/src/Image.cpp b/TextureLoader/src/Image.cpp
index babc6c5..6facaac 100644
--- a/TextureLoader/src/Image.cpp
+++ b/TextureLoader/src/Image.cpp
@@ -102,13 +102,13 @@ namespace Diligent
static int TIFFMapFileProc( thandle_t pClientData, void** base, toff_t* size )
{
- UNEXPECTED( "Client file mapping is not implemented. Use \'m\' when opening TIFF file to disable file mapping." )
- return 0;
+ UNEXPECTED( "Client file mapping is not implemented. Use \'m\' when opening TIFF file to disable file mapping." );
+ return 0;
}
static void TIFFUnmapFileProc( thandle_t pClientData, void* base, toff_t size )
{
- UNEXPECTED( "Client file mapping is not implemented. Use \'m\' when opening TIFF file to disable file mapping." )
+ UNEXPECTED( "Client file mapping is not implemented. Use \'m\' when opening TIFF file to disable file mapping." );
}
private:
@@ -194,10 +194,10 @@ namespace Diligent
}
png_structp png = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
- VERIFY(png, "png_create_read_struct() failed")
+ VERIFY(png, "png_create_read_struct() failed");
png_infop info = png_create_info_struct(png);
- VERIFY(info, "png_create_info_struct() failed")
+ VERIFY(info, "png_create_info_struct() failed");
if( setjmp( png_jmpbuf( png ) ) )
{
@@ -315,7 +315,7 @@ namespace Diligent
// If we get here, the JPEG code has signaled an error.
// We need to clean up the JPEG object, close the input file, and return.
jpeg_destroy_decompress( &cinfo );
- LOG_ERROR_AND_THROW( "Failed to decompress JPEG image" )
+ LOG_ERROR_AND_THROW( "Failed to decompress JPEG image" );
}
// Now we can initialize the JPEG decompression object.
jpeg_create_decompress( &cinfo );