remove BUG notices (discussed with acgessler)

pull/327/head
Gargaj 2014-08-07 08:43:52 +02:00
parent 061911bdbf
commit 3c172988bb
1 changed files with 2 additions and 2 deletions

View File

@ -337,7 +337,7 @@ namespace Assimp {
if(!shortened) { if(!shortened) {
if (!tex->mHeight) { if (!tex->mHeight) {
chunk.Write(tex->pcData,1,tex->mWidth); // BUG?! should be *4? chunk.Write(tex->pcData,1,tex->mWidth);
} }
else { else {
chunk.Write(tex->pcData,1,tex->mWidth*tex->mHeight*4); chunk.Write(tex->pcData,1,tex->mWidth*tex->mHeight*4);
@ -732,7 +732,7 @@ namespace Assimp {
compress2( compressedBuffer, &compressedSize, (const Bytef*)uncompressedStream.GetBufferPointer(), uncompressedSize, 9 ); compress2( compressedBuffer, &compressedSize, (const Bytef*)uncompressedStream.GetBufferPointer(), uncompressedSize, 9 );
out->Write( &uncompressedSize, sizeof(uint32_t), 1 ); // BUG?! are we writing compressed or uncompressed size here? out->Write( &uncompressedSize, sizeof(uint32_t), 1 );
out->Write( compressedBuffer, sizeof(char), compressedSize ); out->Write( compressedBuffer, sizeof(char), compressedSize );
delete[] compressedBuffer; delete[] compressedBuffer;