closes assimp/assimp/issues/1101: copy aiTexture type declaration instead

of using decltype for declaration to fix iOS build.
pull/1114/head
Kim Kulling 2016-12-14 21:42:01 +01:00
parent 5caa232b15
commit bd0449ea79
1 changed files with 6 additions and 6 deletions

View File

@ -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;
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.