Fix strange code
This commit is contained in:
parent
37f6166eb9
commit
a3b0569624
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue