From c1c799117e7076046182e12d71d06e2c9444e9be Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 8 Nov 2011 10:26:04 +0100 Subject: changed all wstring/wchar_t to string/char --- src/base/texture.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/base/texture.cpp') diff --git a/src/base/texture.cpp b/src/base/texture.cpp index 1b9ed970..ee26a5c8 100644 --- a/src/base/texture.cpp +++ b/src/base/texture.cpp @@ -41,12 +41,12 @@ namespace usdx // // Check that the image dimensions are a power of 2 // if ((image.get_surface()->w & (image.get_surface()->w - 1)) != 0 ) { - // LOG4CXX_ERROR(log, L"" << filename << L" has a width of " << image.get_surface()->w << L" that is not a power of 2"); + // LOG4CXX_ERROR(log, "" << filename << " has a width of " << image.get_surface()->w << " that is not a power of 2"); // throw TextureSizeException(size); // } // if ((image.get_surface()->h & (image.get_surface()->h - 1)) != 0 ) { - // LOG4CXX_ERROR(log, L"" << filename << L" has a height of " << image.get_surface()->h << L" that is not a power of 2"); + // LOG4CXX_ERROR(log, "" << filename << " has a height of " << image.get_surface()->h << " that is not a power of 2"); // throw TextureSizeException(size); // } @@ -73,7 +73,7 @@ namespace usdx break; default: - LOG4CXX_ERROR(log, L"" << filename << L" is not in true color! Could not handle that!"); + LOG4CXX_ERROR(log, "" << filename << " is not in true color! Could not handle that!"); throw TextureColorDepthException(image.get_surface()->format->BytesPerPixel); } -- cgit v1.2.3