summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/im_image.h3
1 files changed, 2 insertions, 1 deletions
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 */