mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-14 15:28:14 +00:00
REMOVED: GetImageDataNormalized()
Let the advance users manage it as they want...
This commit is contained in:
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user