diff options
author | spiff_ <spiff_@svn> | 2010-09-13 22:45:28 +0000 |
---|---|---|
committer | spiff_ <spiff_@svn> | 2010-09-13 22:45:28 +0000 |
commit | 6054b8e85949a52bb7c6ef073651108c6c735352 (patch) | |
tree | 508d85c55ac5c37e2085f36ab6bddd5a2b3ae9e8 /tools/TexturePacker/XBTFWriter.h | |
parent | c9d8a01d6ab93cafa41c4e486aa43e36a8570075 (diff) |
added: dupe check in xbt files
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33752 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/TexturePacker/XBTFWriter.h')
-rw-r--r-- | tools/TexturePacker/XBTFWriter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/TexturePacker/XBTFWriter.h b/tools/TexturePacker/XBTFWriter.h index 021ae6286e..d86094e449 100644 --- a/tools/TexturePacker/XBTFWriter.h +++ b/tools/TexturePacker/XBTFWriter.h @@ -22,6 +22,7 @@ * */ +#include <vector> #include <string> #include <stdio.h> #include "XBTF.h" @@ -33,7 +34,7 @@ public: bool Create(); bool Close(); bool AppendContent(unsigned char const* data, size_t length); - bool UpdateHeader(); + bool UpdateHeader(const std::vector<unsigned int>& dupes); private: CXBTF& m_xbtf; |