diff options
| author | raysan5 <[email protected]> | 2020-11-28 19:11:31 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-11-28 19:11:31 +0100 |
| commit | d6f4f3ee88a1eaa77acba4ae9aab7ed2e52049bf (patch) | |
| tree | eff1296a9ebfa48ab4a8522ecb20e9542df8ef77 /src/textures.c | |
| parent | 14c1ee268107b2de727c2820e56a333b85ebc500 (diff) | |
| download | raylib-d6f4f3ee88a1eaa77acba4ae9aab7ed2e52049bf.tar.gz raylib-d6f4f3ee88a1eaa77acba4ae9aab7ed2e52049bf.zip | |
REMOVED: GetImageDataNormalized()
Let the advance users manage it as they want...
Diffstat (limited to 'src/textures.c')
| -rw-r--r-- | src/textures.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/textures.c b/src/textures.c index 897905cf..a26c0ddc 100644 --- a/src/textures.c +++ b/src/textures.c @@ -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)); |
