Fix bug with debug images

This commit is contained in:
Pavel Krajcevski 2013-09-12 14:32:33 -04:00
parent 1115c2f9e4
commit 9f6e6e7233

View file

@ -308,7 +308,7 @@ void Image::DebugOutput(const char *filename) const {
}
}
::Image img(m_Height, m_Width, outPixels);
::Image img(m_Width, m_Height, outPixels);
char debugFilename[256];
snprintf(debugFilename, sizeof(debugFilename), "%s.png", filename);