diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-09-15 00:30:37 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-09-15 00:30:37 +0000 |
commit | 6d368804f9534e4f3ab93649ca5c2bb4059c7bf0 (patch) | |
tree | a0658c589c9bde98dd5b1546efcb4316fa8254b9 /tools/TexturePacker/XBTFWriter.h | |
parent | 14ac82d6063f7246d170a3da8cbe9b333dbb6bfb (diff) |
changed: TexturePacker - don't write to a temporary file, keep it in memory instead.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33815 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/TexturePacker/XBTFWriter.h')
-rw-r--r-- | tools/TexturePacker/XBTFWriter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/TexturePacker/XBTFWriter.h b/tools/TexturePacker/XBTFWriter.h index d86094e449..f7f06ee3f2 100644 --- a/tools/TexturePacker/XBTFWriter.h +++ b/tools/TexturePacker/XBTFWriter.h @@ -37,10 +37,13 @@ public: bool UpdateHeader(const std::vector<unsigned int>& dupes); private: + void Cleanup(); + CXBTF& m_xbtf; std::string m_outputFile; FILE* m_file; - FILE* m_tempFile; + unsigned char *m_data; + size_t m_size; }; #endif |