当前位置: 动力学知识库 > 问答 > 编程问答 >

android - ComputeFrameBufferCompleteness: Can't create render surface

问题描述:

Using cocos2d-x-2.0.4 framework using opengles2.0, the app build based android sdk 2.2 and run on device Galaxy Nexus(Android version 4.1.2), after loading several images(png and jpg), generates this error:

:0: PVRSRVAllocDeviceMem: Error 1 returned

:0: ComputeFrameBufferCompleteness: Can't create render surface.

What's the problem? hope somebody can shed light upon this. Thanks.

网友答案:

Try loading compressed textures, probably the device went out of memory, besides it is more efficient and you will not saturate the bus. Is there any more information at LogCat?

Probably if you invert the other, first create render surface and then textures, one of your textures will fail.

分享给朋友:
您可能感兴趣的文章:
随机阅读: