most unused arg warnings corrected.

- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating).
- mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
This commit is contained in:
Campbell Barton
2010-10-16 14:32:17 +00:00
parent 7cc5aaf18a
commit 8268a4be71
249 changed files with 890 additions and 852 deletions

View File

@@ -250,7 +250,7 @@ void BL_MakeScreenShot(ScrArea *curarea, const char* filename)
BLI_path_abs(path, G.sce);
/* BKE_add_image_extension() checks for if extension was already set */
BKE_add_image_extension(path, R_PNG); /* scene->r.imtype */
ibuf= IMB_allocImBuf(dumpsx, dumpsy, 24, 0, 0);
ibuf= IMB_allocImBuf(dumpsx, dumpsy, 24, 0);
ibuf->rect= dumprect;
ibuf->ftype= PNG;