Running on Windows is OK, and running under Android becomes like this:
After some groping, finally, the solution is as follows:
Open Project_name\frameworks\cocos2d-x\cocos\platform\android\java\src\org\cocos2dx\lib\cocos2dxactivity.java file, Change as per map
is to add two words, set the rendering format as rgb_565, the default format is ARGB8888, if there is no such sentence, then the following Seteglconfigchooser (5,6,5,0,16,8) will not work.
After testing, under the LUA project, it's not a problem to run on a real machine. But put it under the genymotion and run, it will collapse bulb. The reason for the bulb is the last 8, which is the stencilsize value, which is the template buffer in the depth buffer. As long as this value is set to be greater than 0, run under the genymotion will collapse bulb, under the real machine does not have this problem, engaged in an afternoon, really do not know what is the reason, but the real machine above the problem has been resolved, if the High man road past, see this question, and know the answer, hope to tell One of the edges is
References:
http://blog.csdn.net/rev_fycd/article/details/8618482
http://blog.csdn.net/pathuang68/article/details/7351317
http://blog.csdn.net/song_hui_xiang/article/details/22809647
COCOS2DX 3.0 ScrollView A green color on the background of Android