Fix strange code
This commit is contained in:
parent
69d749d3b2
commit
7848636ef7
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