closes assimp/assimp/issues/1101: copy aiTexture type declaration instead
of using decltype for declaration to fix iOS build.pull/1114/head
parent
5caa232b15
commit
bd0449ea79
|
@ -135,18 +135,18 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
/// \struct SPP_Texture
|
/// \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
|
struct SPP_Texture
|
||||||
{
|
{
|
||||||
std::string ID;
|
std::string ID;
|
||||||
size_t Width, Height, Depth;
|
size_t Width, Height, Depth;
|
||||||
bool Tiled;
|
bool Tiled;
|
||||||
decltype(aiTexture::achFormatHint) FormatHint;
|
char FormatHint[ 9 ];// 8 for string + 1 for terminator.
|
||||||
uint8_t* Data;
|
uint8_t *Data;
|
||||||
};
|
};
|
||||||
|
|
||||||
/// \struct SComplexFace
|
/// \struct SComplexFace
|
||||||
/// Data type for postprocessing step. Contain face data.
|
/// Data type for post-processing step. Contain face data.
|
||||||
struct SComplexFace
|
struct SComplexFace
|
||||||
{
|
{
|
||||||
aiFace Face;///< Face vertices.
|
aiFace Face;///< Face vertices.
|
||||||
|
|
Loading…
Reference in New Issue