Bugfix : Commit not saved changes.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1226 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/5/head
parent
6c1cb4f159
commit
71b8fa7cb5
|
@ -208,8 +208,8 @@ struct aiExportDataBlob
|
|||
|
||||
private:
|
||||
// no copying
|
||||
aiExportDataBlob(const aiExportDataBlob& ) {}
|
||||
aiExportDataBlob& operator= (const aiExportDataBlob& ) {}
|
||||
aiExportDataBlob(const aiExportDataBlob& );
|
||||
aiExportDataBlob& operator= (const aiExportDataBlob& );
|
||||
#endif // __cplusplus
|
||||
};
|
||||
|
||||
|
|
|
@ -183,7 +183,8 @@ int SaveAsTGA (FILE* file, const aiTexel* data, unsigned int width, unsigned int
|
|||
return 1;
|
||||
}
|
||||
|
||||
TGA_HEADER head = {0};
|
||||
TGA_HEADER head;
|
||||
memset(&head, 0, sizeof(head));
|
||||
head.bits = 32;
|
||||
head.height = (uint16_t)height;
|
||||
head.width = (uint16_t)width;
|
||||
|
|
Loading…
Reference in New Issue