Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-07-28 02:41:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-07-28 02:41:35 +0400
commit396ebf0c91b1527e6ea1ab923a314a164007b8e9 (patch)
tree87e19f104ec4def173e7eccad0690ab65984341d /source/blender/imbuf/intern/IMB_targa.h
parentcc3c21f27cd0cf80d00d35f77a0ede8d942a5cce (diff)
better loading partially written TARGA's, dont read over the end of the buffer and set the remaining pixels 0.
Diffstat (limited to 'source/blender/imbuf/intern/IMB_targa.h')
-rw-r--r--source/blender/imbuf/intern/IMB_targa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/IMB_targa.h b/source/blender/imbuf/intern/IMB_targa.h
index 956bc512b97..7759e4bc772 100644
--- a/source/blender/imbuf/intern/IMB_targa.h
+++ b/source/blender/imbuf/intern/IMB_targa.h
@@ -41,7 +41,7 @@ struct ImBuf;
int imb_is_a_targa(void *buf);
-struct ImBuf *imb_loadtarga(unsigned char *mem, int flags);
+struct ImBuf *imb_loadtarga(unsigned char *mem, int size, int flags);
short imb_savetarga(struct ImBuf * ibuf, char *name, int flags);
#endif