之前在2.2.5plus里,使用CCClippingNode就出现某些android机型不能正确裁剪,之前解决方式:
public Cocos2dxGLSurfaceView onCreateView() {
Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView(this);
glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8);
return glSurfaceView;
}
升级到2.2.6后,之前成功裁剪的android机上,又不能正确裁剪。这是为什么啊?2.2.6还有这个方面的改动嘛?