Bugfix : Commit not saved changes.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1226 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user