From 9f84f624d3a6be89804a55ddea878f4cdaca6e77 Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 25 Sep 2009 18:40:30 +0000 Subject: *** empty log message *** --- include/im_image.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/im_image.h b/include/im_image.h index 09de54b..12dbad8 100644 --- a/include/im_image.h +++ b/include/im_image.h @@ -183,7 +183,8 @@ void imImageClear(imImage* image); int imImageIsBitmap(const imImage* image); /** Changes the image palette. - * This will destroy the existing palette and replace it with the given palette buffer. + * This will destroy the existing palette and replace it with the given palette pointer. + * Only the pointer is stored, so the palette should be a new palette and it can not be a static array. * * \verbatim image:SetPalette(palette: imPalette) [in Lua 5] \endverbatim * \ingroup imgclass */ -- cgit v1.2.3