summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-07-10 19:18:29 +0200
committerraysan5 <[email protected]>2020-07-10 19:18:29 +0200
commit0db0e6acd8980d3790b96a17c407289e3e237371 (patch)
tree35c78b79cd1357c54598cb88a42150a95ecab945 /src/raylib.h
parent7199dd570f8d8ef2f4cb9235cf0ab6c76195e8ab (diff)
downloadraylib-0db0e6acd8980d3790b96a17c407289e3e237371.tar.gz
raylib-0db0e6acd8980d3790b96a17c407289e3e237371.zip
WARNING: REMOVED: LoadImageEx()
Reason for removal: This function forces a specific Image data format, it copies data internally (it could be confusing and lead to memory leaks), it's redundant, there is a simpler alternative and raylib promotes using structures directly
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 49c7ba6a..d38d53a0 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1097,7 +1097,6 @@ RLAPI bool CheckCollisionPointTriangle(Vector2 point, Vector2 p1, Vector2 p2, Ve
// Image loading functions
// 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 LoadImageRaw(const char *fileName, int width, int height, int format, int headerSize); // Load image from RAW file data
RLAPI Image LoadImageAnim(const char *fileName, int *frames); // Load image sequence from file (frames appended to image.data)
RLAPI void UnloadImage(Image image); // Unload image from CPU memory (RAM)