diff options
| author | raysan5 <[email protected]> | 2020-05-09 12:07:18 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-05-09 12:07:18 +0200 |
| commit | 7a1d3d807f0840a640642ab4c72895d5eac7eeb6 (patch) | |
| tree | 10d6b310cab74e988590e91c84da711b6c9d0cf0 /src/raylib.h | |
| parent | cb3bdf09c64f7c6d77c5728814aa144b225b77ec (diff) | |
| download | raylib-7a1d3d807f0840a640642ab4c72895d5eac7eeb6.tar.gz raylib-7a1d3d807f0840a640642ab4c72895d5eac7eeb6.zip | |
WARNING: RENAMED: ImageExtractPalette() -> GetImagePalette()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 8fa20f49..62024a46 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1150,7 +1150,7 @@ RLAPI void ImageColorBrightness(Image *image, int brightness); RLAPI void ImageColorReplace(Image *image, Color color, Color replace); // Modify image color: replace color RLAPI Color *GetImageData(Image image); // Get pixel data from image as a Color struct array -RLAPI Color *ImageExtractPalette(Image image, int maxPaletteSize, int *extractCount); // Extract color palette from image to maximum size (memory should be freed) +RLAPI Color *GetImagePalette(Image image, int maxPaletteSize, int *extractCount); // Get color palette from image to maximum size (memory should be freed) RLAPI Vector4 *GetImageDataNormalized(Image image); // Get pixel data from image as Vector4 array (float normalized) RLAPI Rectangle GetImageAlphaBorder(Image image, float threshold); // Get image alpha border rectangle |
