摘要:
同样的CCRenderTexture生成代码,在模拟器上运行成功,但在真机上运行失败,很奇怪的问题。后来发现http://code.google.com/p/cocos2d-iphone/issues/detail?id=1187:查得:The minimum size of a render texture is 32 pixels, the minimum size for a FBO.经过真机测试,各设备略有差异,在iphone4中CCRenderTexture的宽高不得少于5像素,在ipad中CCRenderTexture的宽高不得少于8像素,保险起见,统一为设置32 阅读全文
posted @ 2012-08-26 20:24 扬名 阅读(284) 评论(0) 推荐(0) 编辑