diff --git a/code/AMFImporter.hpp b/code/AMFImporter.hpp index 64f9e6230..4d92b9ea0 100644 --- a/code/AMFImporter.hpp +++ b/code/AMFImporter.hpp @@ -135,18 +135,18 @@ private: }; /// \struct SPP_Texture - /// Data type for postprocessing step. More suitable container for texture. + /// Data type for post-processing step. More suitable container for texture. struct SPP_Texture { std::string ID; - size_t Width, Height, Depth; - bool Tiled; - decltype(aiTexture::achFormatHint) FormatHint; - uint8_t* Data; + size_t Width, Height, Depth; + bool Tiled; + char FormatHint[ 9 ];// 8 for string + 1 for terminator. + uint8_t *Data; }; /// \struct SComplexFace - /// Data type for postprocessing step. Contain face data. + /// Data type for post-processing step. Contain face data. struct SComplexFace { aiFace Face;///< Face vertices.