|
@@ -186,6 +186,7 @@ static Image LoadPVR(const unsigned char *fileData, unsigned int fileSize); //
|
|
#if defined(SUPPORT_FILEFORMAT_ASTC)
|
|
#if defined(SUPPORT_FILEFORMAT_ASTC)
|
|
static Image LoadASTC(const unsigned char *fileData, unsigned int fileSize); // Load ASTC file data
|
|
static Image LoadASTC(const unsigned char *fileData, unsigned int fileSize); // Load ASTC file data
|
|
#endif
|
|
#endif
|
|
|
|
+static Vector4 *GetImageDataNormalized(Image image); // Get pixel data from image as Vector4 array (float normalized)
|
|
|
|
|
|
//----------------------------------------------------------------------------------
|
|
//----------------------------------------------------------------------------------
|
|
// Module Functions Definition
|
|
// 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)
|
|
// 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));
|
|
Vector4 *pixels = (Vector4 *)RL_MALLOC(image.width*image.height*sizeof(Vector4));
|
|
|
|
|