Browse Source

TGAImporter: doc/debug output fixes.

pull/34/head
Vladimír Vondruš 15 years ago
parent
commit
1dbb3c8c9c
  1. 2
      src/Plugins/TGAImporter/TGAImporter.cpp
  2. 2
      src/Plugins/TGAImporter/TGAImporter.h

2
src/Plugins/TGAImporter/TGAImporter.cpp

@ -48,7 +48,7 @@ bool TGAImporter::open(std::istream& in) {
colorFormat = ColorFormat::BGRA; colorFormat = ColorFormat::BGRA;
break; break;
default: default:
Error() << "TGATexture: unsupported bits-per-pixel:" << (int) header.bpp; Error() << "TGAImporter: unsupported bits-per-pixel:" << (int) header.bpp;
return false; return false;
} }

2
src/Plugins/TGAImporter/TGAImporter.h

@ -50,7 +50,7 @@ class TGAImporter: public AbstractImporter {
unsigned short beginY; /**< @brief Image y origin */ unsigned short beginY; /**< @brief Image y origin */
unsigned short width; /**< @brief Image width */ unsigned short width; /**< @brief Image width */
unsigned short height; /**< @brief Image height */ unsigned short height; /**< @brief Image height */
GLbyte bpp; /**< @brief Bits per pixel (8 16, 24, 32) */ GLbyte bpp; /**< @brief Bits per pixel (8, 16, 24, 32) */
GLbyte descriptor; /**< @brief Image descriptor */ GLbyte descriptor; /**< @brief Image descriptor */
}; };
#pragma pack(8) #pragma pack(8)

Loading…
Cancel
Save