From dfe081d32a6da13a2f70269f37fb53e7c13c680b Mon Sep 17 00:00:00 2001 From: castano Date: Tue, 3 Nov 2009 23:27:24 +0000 Subject: [PATCH] Update messages. --- src/nvtt/TexImage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nvtt/TexImage.cpp b/src/nvtt/TexImage.cpp index dabcd2c..122b81b 100644 --- a/src/nvtt/TexImage.cpp +++ b/src/nvtt/TexImage.cpp @@ -509,7 +509,7 @@ void TexImage::resize(int w, int h, ResizeFilter filter) if (m->type == TextureType_Cube) { -#pragma message(NV_FILE_LINE "Output error when image is cubemap and w != h.") +#pragma message(NV_FILE_LINE "TODO: Output error when image is cubemap and w != h.") h = w; } @@ -951,7 +951,7 @@ void TexImage::toNormalMap(float sm, float medium, float big, float large) const FloatImage * img = m->imageArray[i]; m->imageArray[i] = nv::createNormalMap(img, (FloatImage::WrapMode)m->wrapMode, filterWeights); -#pragma messsage(NV_FILE_LINE "Pack and expand normals explicitly") +#pragma message(NV_FILE_LINE "TODO: Pack and expand normals explicitly") m->imageArray[i]->packNormals(0); delete img; @@ -968,7 +968,7 @@ void TexImage::toHeightMap() { if (m->imageArray[i] == NULL) continue; -#pragma message(NV_FILE_LINE "Implement TexImage::toHeightMap") +#pragma message(NV_FILE_LINE "TODO: Implement TexImage::toHeightMap") } m->isNormalMap = false;