Fixed gcc compilation error

pull/868/head
Otger 2016-04-28 21:22:01 +02:00
parent 64f78e003f
commit 2fe401fc54
1 changed files with 8 additions and 2 deletions

View File

@ -815,16 +815,22 @@ namespace glTF
{
std::string copyright; //!< A copyright message suitable for display to credit the content creator.
std::string generator; //!< Tool that generated this glTF model.Useful for debugging.
bool premultipliedAlpha = false; //!< Specifies if the shaders were generated with premultiplied alpha. (default: false)
bool premultipliedAlpha; //!< Specifies if the shaders were generated with premultiplied alpha. (default: false)
struct {
std::string api; //!< Specifies the target rendering API (default: "WebGL")
std::string version; //!< Specifies the target rendering API (default: "1.0.3")
} profile; //!< Specifies the target rendering API and version, e.g., WebGL 1.0.3. (default: {})
int version = 0; //!< The glTF format version (should be 1)
int version; //!< The glTF format version (should be 1)
void Read(Document& doc);
AssetMetadata()
: premultipliedAlpha(false),
, version(0)
{
}
};
//