|
|
|
@ -26,13 +26,16 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include <fstream> |
|
|
|
#include <fstream> |
|
|
|
#include <sstream> |
|
|
|
#include <sstream> |
|
|
|
#include <algorithm> |
|
|
|
|
|
|
|
#include <Utility/Endianness.h> |
|
|
|
#include <Utility/Endianness.h> |
|
|
|
#include <Math/Vector2.h> |
|
|
|
#include <Math/Vector2.h> |
|
|
|
#include <ImageFormat.h> |
|
|
|
#include <ImageFormat.h> |
|
|
|
#include <Swizzle.h> |
|
|
|
|
|
|
|
#include <Trade/ImageData.h> |
|
|
|
#include <Trade/ImageData.h> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef MAGNUM_TARGET_GLES |
|
|
|
|
|
|
|
#include <algorithm> |
|
|
|
|
|
|
|
#include <Swizzle.h> |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#include "TgaHeader.h" |
|
|
|
#include "TgaHeader.h" |
|
|
|
|
|
|
|
|
|
|
|
namespace Magnum { namespace Trade { namespace TgaImporter { |
|
|
|
namespace Magnum { namespace Trade { namespace TgaImporter { |
|
|
|
|