我正在使用cocos2dx版本2.2.6并面临在运行场景时随机发生的崩溃。在EAGLView.mm swapBuffers方法中 在线
-> POST http://docker.me:9200/_bulk
{
"index": {
"_index": "myindex",
"_type": "movie",
"_id": "1IEAEHNOIORANIT4SEOASNIE3HAETN2E...",
"_data": {
"title": "Title 2",
"description": "This should be updated with this new.",
"score": 1,
"suggest_title": "Title 2",
"img": "http://url.to.image/img.jpeg",
"genres": [
"Comedy"
],
"release": "2015-01-07T23:00:00.000Z",
"language": "EN",
"provider": {
"id": "InstaFilmFlixify",
"url": "http://www.InstaFilmFlixify.com/play?id=238412"
}
}
}
}
我搜索过它,大多数答案是将这两行添加到AppDelegate.cpp
if(![_context presentRenderbuffer:GL_RENDERBUFFER])
但它不起作用。