From 3c172988bbb0360ad01d3ba01202081e044b1475 Mon Sep 17 00:00:00 2001 From: Gargaj Date: Thu, 7 Aug 2014 08:43:52 +0200 Subject: [PATCH] remove BUG notices (discussed with acgessler) --- code/AssbinExporter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/AssbinExporter.cpp b/code/AssbinExporter.cpp index 439f2e61f..2f1c403e9 100644 --- a/code/AssbinExporter.cpp +++ b/code/AssbinExporter.cpp @@ -337,7 +337,7 @@ namespace Assimp { if(!shortened) { if (!tex->mHeight) { - chunk.Write(tex->pcData,1,tex->mWidth); // BUG?! should be *4? + chunk.Write(tex->pcData,1,tex->mWidth); } else { 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 ); - 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 ); delete[] compressedBuffer;