aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/texture.cpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-11-08 10:26:04 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-05 17:17:49 +0100
commitc1c799117e7076046182e12d71d06e2c9444e9be (patch)
tree7940de26d0c786134fa103703320bd3efcbba00c /src/base/texture.cpp
parent31ba94d4efa6e3f64ffacf1711438e88d8b3035d (diff)
downloadusdx-c1c799117e7076046182e12d71d06e2c9444e9be.tar.gz
usdx-c1c799117e7076046182e12d71d06e2c9444e9be.tar.xz
usdx-c1c799117e7076046182e12d71d06e2c9444e9be.zip
changed all wstring/wchar_t to string/char
Diffstat (limited to '')
-rw-r--r--src/base/texture.cpp6
1 files changed, 3 insertions, 3 deletions
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);
}