From e8534aa5b604a33d00f6cb14b04dc93563b6a237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 9 Jan 2012 19:11:17 +0100 Subject: [PATCH] TGAImporter: making header structure public. --- src/Plugins/TGAImporter/TGAImporter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/TGAImporter/TGAImporter.h b/src/Plugins/TGAImporter/TGAImporter.h index 279596689..cd3ad3ad1 100644 --- a/src/Plugins/TGAImporter/TGAImporter.h +++ b/src/Plugins/TGAImporter/TGAImporter.h @@ -37,7 +37,6 @@ class TGAImporter: public AbstractImporter { inline size_t image2DCount() const { return _image ? 1 : 0; } inline std::shared_ptr image2D(size_t id); - private: #pragma pack(1) struct Header { GLbyte identsize; /**< @brief Size of ID field that follows header (0) */ @@ -55,6 +54,7 @@ class TGAImporter: public AbstractImporter { }; #pragma pack(8) + private: std::shared_ptr _image; };