From a207c1cdaf11864a413c5de3ade93f85a592b3cb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 14 Dec 2021 18:35:23 +1100 Subject: Cleanup: resolve parameter mis-matches in doc-strings Renamed or removed parameters which no longer exist. --- source/blender/imbuf/IMB_imbuf.h | 4 +--- source/blender/imbuf/intern/IMB_filetype.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'source/blender/imbuf') diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index daa3dbd1f1a..f71eef66a62 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -152,8 +152,6 @@ bool IMB_initImBuf( * Create a copy of a pixel buffer and wrap it to a new ImBuf * (transferring ownership to the in imbuf). * \attention Defined in allocimbuf.c - * - * \param take_ownership: When true, the buffers become owned by the resulting image. */ struct ImBuf *IMB_allocFromBufferOwn( unsigned int *rect, float *rectf, unsigned int w, unsigned int h, unsigned int channels); @@ -802,7 +800,7 @@ void IMB_freezbuffloatImBuf(struct ImBuf *ibuf); */ /** * Replace pixels of entire image with solid color. - * \param ibuf: An image to be filled with color. It must be 4 channel image. + * \param drect: An image to be filled with color. It must be 4 channel image. * \param col: RGBA color, which is assigned directly to both byte (via scaling) and float buffers. */ void IMB_rectfill(struct ImBuf *drect, const float col[4]); diff --git a/source/blender/imbuf/intern/IMB_filetype.h b/source/blender/imbuf/intern/IMB_filetype.h index 7a4a2c84df2..104458ffa7a 100644 --- a/source/blender/imbuf/intern/IMB_filetype.h +++ b/source/blender/imbuf/intern/IMB_filetype.h @@ -244,7 +244,7 @@ void imb_loadtiletiff( * not strictly correct, but are permitted anyhow. * * \param ibuf: Image buffer. - * \param name: Name of the TIFF file to create. + * \param filepath: Name of the TIFF file to create. * \param flags: Currently largely ignored. * * \return 1 if the function is successful, 0 on failure. -- cgit v1.2.3