在 Airplay SDK 中,当我的代码到达以下内容时,如果我的 image.png 大于 360x360 像素,我会得到:“堆 0 内存不足。分配 1766400 字节但只有 2198280 可用(1318780 LFB)。增加 icf 设置 [s3e ] MemSize(当前值为 3145728)。”
current_image = Iw2DCreateImage( "image.png" );
我什至尝试使用提供的示例,例如 (IwUtil - Image) 但是当它到达 Upload() 到内存时得到相同的错误。
s3eFile* pFile = s3eFileOpen("textures/bigTestTexture.png", "rb");
...
s_Texture->Upload();
有谁知道为什么会这样?因为它甚至不应该成为问题,因为 360x360 甚至 512x512 都是小图像。