Browse Source

TGAImporter: making header structure public.

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

2
src/Plugins/TGAImporter/TGAImporter.h

@ -37,7 +37,6 @@ class TGAImporter: public AbstractImporter {
inline size_t image2DCount() const { return _image ? 1 : 0; } inline size_t image2DCount() const { return _image ? 1 : 0; }
inline std::shared_ptr<Image2D> image2D(size_t id); inline std::shared_ptr<Image2D> image2D(size_t id);
private:
#pragma pack(1) #pragma pack(1)
struct Header { struct Header {
GLbyte identsize; /**< @brief Size of ID field that follows header (0) */ GLbyte identsize; /**< @brief Size of ID field that follows header (0) */
@ -55,6 +54,7 @@ class TGAImporter: public AbstractImporter {
}; };
#pragma pack(8) #pragma pack(8)
private:
std::shared_ptr<Image2D> _image; std::shared_ptr<Image2D> _image;
}; };

Loading…
Cancel
Save