diff --git a/src/nvtt/TexImage.cpp b/src/nvtt/TexImage.cpp index fc19d30..eb317f4 100644 --- a/src/nvtt/TexImage.cpp +++ b/src/nvtt/TexImage.cpp @@ -749,7 +749,7 @@ bool TexImage::buildNextMipmap(MipmapFilter filter) bool TexImage::buildNextMipmap(MipmapFilter filter, float filterWidth, const float * params) { FloatImage * img = m->image; - if (img == NULL || img->width() == 1 || img->height() == 1) { + if (img == NULL || (img->width() == 1 && img->height() == 1)) { return false; }