标签:android style blog color os java io for 文件
可以在论坛看到, 修改一处即可.
文件位置在: frameworks\cocos2d-x\cocos\platform\android\java\src\org\cocos2dx\lib\Cocos2dxActivity.java
然后找到 public Cocos2dxGLSurfaceView onCreateView() 函数.
修改如下:
1 public Cocos2dxGLSurfaceView onCreateView() {
2
3 Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView(this);
4
5 glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8);
6
7 return glSurfaceView;
8
9 }
Coco2d-x 3.x : Cocos Studio 制作的UI无法正确显示,出现绿色或白色底
标签:android style blog color os java io for 文件
原文地址:http://www.cnblogs.com/atong/p/3945150.html