2014年1月27日

CCRenderTexture 从后台进入前台变黑的处理(android)

摘要: 在android 中使用CCRenderTexture发现一个bug,当任务从前台切换到后台,再从后台切换到前台时CCRenderTexture渲染的对象会变成黑色。修正:在CCPlatformMacros.h中找到#define CC_ENABLE_CACHE_TEXTURE_DATA 1将1改成0即可解决帮助信息:"Certain Qualcomm Andreno gpu's will retain data in memory after a frame buffer switch which corrupts the render to the texture. Th 阅读全文

posted @ 2014-01-27 10:53 大大世界 阅读(446) 评论(0) 推荐(0) 编辑

导航