add LoadImageBuffer

This commit is contained in:
brankoku 2020-03-03 17:14:49 -05:00 committed by GitHub
parent 7da91f4788
commit 1d9a187a3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -299,7 +299,7 @@ Image LoadImage(const char *fileName)
return image; return image;
} }
// Load image from file in memory // Load image from file already in memory
Image LoadImageBuffer(const char *extension, const void *data, const unsigned int length) Image LoadImageBuffer(const char *extension, const void *data, const unsigned int length)
{ {
Image image = { 0 }; Image image = { 0 };