diff options
| author | raysan5 <[email protected]> | 2020-04-10 19:26:36 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-04-10 19:26:36 +0200 |
| commit | cc816345bf24c8da911e080589b5653a52b8404e (patch) | |
| tree | 5d858a1691a06d0940d771a57fbf2c97f83f25fe /src/raylib.h | |
| parent | b132da0ac2b0777cc965238fc3b011b1fa9b1fe5 (diff) | |
| download | raylib-cc816345bf24c8da911e080589b5653a52b8404e.tar.gz raylib-cc816345bf24c8da911e080589b5653a52b8404e.zip | |
WARNING: API BREAK: Removed LoadImagePro()
Actually this function is useless and potentially dangerous, internally, a shallow copy of data was done. Same could be accomplished accesing image.data directly.
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index ba6f23fc..627fa1d6 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1106,7 +1106,6 @@ RLAPI bool CheckCollisionPointTriangle(Vector2 point, Vector2 p1, Vector2 p2, Ve // NOTE: This functions do not require GPU access RLAPI Image LoadImage(const char *fileName); // Load image from file into CPU memory (RAM) RLAPI Image LoadImageEx(Color *pixels, int width, int height); // Load image from Color array data (RGBA - 32bit) -RLAPI Image LoadImagePro(void *data, int width, int height, int format); // Load image from raw data with parameters RLAPI Image LoadImageRaw(const char *fileName, int width, int height, int format, int headerSize); // Load image from RAW file data RLAPI void UnloadImage(Image image); // Unload image from CPU memory (RAM) RLAPI void ExportImage(Image image, const char *fileName); // Export image data to file |
