Skip to content

Commit aa5c6cf

Browse files
committed
removed suplurfuous comments.
1 parent 2a269e1 commit aa5c6cf

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

TextureCompressor/TextureCompressor.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,6 @@ private void TGAToTexture(string file, GameDatabase.TextureInfo texture)
372372
int width = imageBuffer[12] | (imageBuffer[13] << 8);
373373
int height = imageBuffer[14] | (imageBuffer[15] << 8);
374374
int depth = imageBuffer[16];
375-
Log("width: " + width);
376-
Log("height: " + height);
377375
bool alpha = depth == 32 ? true : false;
378376
TextureFormat texFormat = depth == 32 ? TextureFormat.RGBA32 : TextureFormat.RGB24;
379377

@@ -383,7 +381,6 @@ private void TGAToTexture(string file, GameDatabase.TextureInfo texture)
383381
int n = 18;
384382
if (imgType == 2)
385383
{
386-
Log("type2");
387384
for (int i = 0; i < width * height; i++)
388385
{
389386
colors[i].b = imageBuffer[n++];
@@ -401,7 +398,6 @@ private void TGAToTexture(string file, GameDatabase.TextureInfo texture)
401398
}
402399
else if(imgType == 10)
403400
{
404-
Log("type10");
405401
int i = 0;
406402
int run = 0;
407403
while (i < width * height)

0 commit comments

Comments
 (0)