mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Res_FreeImageBits
This commit is contained in:
parent
07daddb3f3
commit
7b6544fadd
1 changed files with 5 additions and 0 deletions
|
@ -150,6 +150,11 @@ BF_EXPORT uint32* BF_CALLTYPE Res_LoadImage(char* inFileName, int& width, int& h
|
|||
return bits;
|
||||
}
|
||||
|
||||
BF_EXPORT void BF_CALLTYPE Res_FreeImageBits(uint32* bits)
|
||||
{
|
||||
delete bits;
|
||||
}
|
||||
|
||||
BF_EXPORT StringView BF_CALLTYPE Res_JPEGCompress(uint32* bits, int width, int height, int quality)
|
||||
{
|
||||
String& outString = *gResLib_TLStrReturn.Get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue