Fix strange code

This commit is contained in:
kaetemi 2014-09-13 11:13:25 +02:00
parent 37f6166eb9
commit a3b0569624

View file

@ -590,7 +590,7 @@ void CScreenshotIslands::buildScreenshots()
//------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------
void CScreenshotIslands::writeProximityBufferToTgaFile(const std::string& fileName,const TBuffer& buffer,uint32 scanWidth,uint32 scanHeight) void CScreenshotIslands::writeProximityBufferToTgaFile(const std::string& fileName,const TBuffer& buffer,uint32 scanWidth,uint32 scanHeight)
{ {
uint imageWidth = (scanWidth+15)&~15; uint imageWidth = (scanWidth); // (scanWidth+15)&~15;
uint imageHeight = (scanHeight); uint imageHeight = (scanHeight);
CTGAImageGrey tgaImage; CTGAImageGrey tgaImage;