diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-28 19:37:31 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-28 19:37:31 +0000 |
commit | d389a31f9816b55d8c7685ec24b9ab814252d693 (patch) | |
tree | 9b2577692e543fa6c59fcda508f92c3eb839ac7a /src/render/tga.cc | |
parent | 17408276791033e8122819185abf3bcb01740105 (diff) |
zone support
Diffstat (limited to 'src/render/tga.cc')
-rw-r--r-- | src/render/tga.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/render/tga.cc b/src/render/tga.cc index fb4301b..fb65910 100644 --- a/src/render/tga.cc +++ b/src/render/tga.cc @@ -97,9 +97,6 @@ Image *TGA::load(const char *filename) // byte 17 - image descriptor byte unsigned int tga_descriptor = header[17]; - con_debug << " " << filename << " " - << tga_width << "x" << tga_height << "x" << tga_depth << "bpp" << std::endl; - // read the image id if there is one if (tga_idlength) tga_file->skip(tga_idlength); @@ -214,6 +211,8 @@ Image *TGA::load(const char *filename) con_warn << filename << ": descriptor bit 4 (left-right) set!" << std::endl; } + con_debug << " " << filename << " " << tga_width << "x" << tga_height << "x" << tga_depth << "bpp" << std::endl; + return image; } |