diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-10-16 18:32:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-10-16 18:32:17 +0400 |
commit | 8268a4be71fe326b5b7b43e5e55ef751844dddbc (patch) | |
tree | 8b3dfadff9a45f48a31ca62dd2b807434ec614b8 /source/gameengine/BlenderRoutines | |
parent | 7cc5aaf18afd882ee8fefdf773fb83eb2e0f467b (diff) |
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.
Diffstat (limited to 'source/gameengine/BlenderRoutines')
-rw-r--r-- | source/gameengine/BlenderRoutines/KX_BlenderGL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp b/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp index 662222bf990..e1cd1c6d488 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp +++ b/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp @@ -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; |