diff options
author | scuri <scuri> | 2009-09-25 18:40:30 +0000 |
---|---|---|
committer | scuri <scuri> | 2009-09-25 18:40:30 +0000 |
commit | 9f84f624d3a6be89804a55ddea878f4cdaca6e77 (patch) | |
tree | 0872bd951622453ed761f14fe7b03d76c4eda567 /src/process/im_quantize.cpp | |
parent | 5ba44ee397f7524ed6808a62f0bdb8ebc7f0045b (diff) |
*** empty log message ***
Diffstat (limited to 'src/process/im_quantize.cpp')
-rw-r--r-- | src/process/im_quantize.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/process/im_quantize.cpp b/src/process/im_quantize.cpp index 9a65f4c..de78cf4 100644 --- a/src/process/im_quantize.cpp +++ b/src/process/im_quantize.cpp @@ -2,7 +2,7 @@ * \brief Additional Image Quantization Operations * * See Copyright Notice in im_lib.h - * $Id: im_quantize.cpp,v 1.1 2008/10/17 06:16:33 scuri Exp $ + * $Id: im_quantize.cpp,v 1.2 2009/09/25 18:40:32 scuri Exp $ */ @@ -24,8 +24,7 @@ void imProcessQuantizeRGBUniform(const imImage* src_image, imImage* dst_image, i *green_map=(imbyte*)src_image->data[1], *blue_map=(imbyte*)src_image->data[2]; - long *palette = imPaletteUniform(); - imImageSetPalette(dst_image, palette, 256); + imImageSetPalette(dst_image, imPaletteUniform(), 256); for (int y = 0; y < src_image->height; y++) { |