mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 13:21:05 +00:00
14 lines
276 B
C++
14 lines
276 B
C++
#include <FreeImage.h>
|
|
|
|
int main()
|
|
{
|
|
FreeImage_Initialise(0);
|
|
|
|
FIBITMAP* bitmap = FreeImage_Allocate(64, 64, 32);
|
|
AEDI_EXPECT(bitmap != nullptr);
|
|
|
|
AEDI_EXPECT(FreeImage_HasPixels(bitmap) == TRUE);
|
|
FreeImage_Unload(bitmap);
|
|
|
|
FreeImage_DeInitialise();
|
|
}
|