REMOVED: GetImageDataNormalized()
Let the advance users manage it as they want...
This commit is contained in:
parent
14c1ee2681
commit
d6f4f3ee88
2 changed files with 2 additions and 2 deletions
|
@ -1173,7 +1173,6 @@ RLAPI void ImageColorReplace(Image *image, Color color, Color replace);
|
|||
|
||||
RLAPI Color *GetImageData(Image image); // Get pixel data from image as a Color struct array
|
||||
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
|
||||
|
||||
// Image drawing functions
|
||||
|
|
|
@ -186,6 +186,7 @@ static Image LoadPVR(const unsigned char *fileData, unsigned int fileSize); //
|
|||
#if defined(SUPPORT_FILEFORMAT_ASTC)
|
||||
static Image LoadASTC(const unsigned char *fileData, unsigned int fileSize); // Load ASTC file data
|
||||
#endif
|
||||
static Vector4 *GetImageDataNormalized(Image image); // Get pixel data from image as Vector4 array (float normalized)
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Module Functions Definition
|
||||
|
@ -2172,7 +2173,7 @@ Color *GetImagePalette(Image image, int maxPaletteSize, int *extractCount)
|
|||
}
|
||||
|
||||
// Get pixel data from image as Vector4 array (float normalized)
|
||||
Vector4 *GetImageDataNormalized(Image image)
|
||||
static Vector4 *GetImageDataNormalized(Image image)
|
||||
{
|
||||
Vector4 *pixels = (Vector4 *)RL_MALLOC(image.width*image.height*sizeof(Vector4));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue