-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clipping node doesn't work on Android 5.0: #10759
Comments
i got it too. if modify Cocos2dxActivity.java like code below, problem will be fix. p.s. using cocos2d-x 3.5 |
to fix this issue, in appcontroller.mm change pixelformat and depthFormat to this. pixelFormat: kEAGLColorFormatRGBA8 thanks! |
I'm also experiencing this issue although neither of the above suggestions worked for me. My clipping nodes seem to work fine on our Samsung S3 (4.1.2) but not on our S4 (4.2.2) or our Nexus 7 (4.4.3). I've also tried changing the #define GL_DEPTH24_STENCIL8 in CCGL-android.h to GL_DEPTH24_STENCIL8_OES but that didn't seem to make a difference. No luck with creating the ClippingNodes in a CallFunc either (which I read as a suggestion elsewhere). I'm currently using cocos2dx v3.4 if anyone else has any thoughts? |
Hi, I got the problem described in "Screenshot_2015-04-16-13-41-14.png" too with cocos2d-x 3.5, and using UIScrollView, and it happens in nexus 7.. I tested all the code in many devices, and all is okay.. but in nexus 7 (the first model), it became like the screenshot.. Is there any quick and permanent fix for this? thanks |
I send a pr for this issue, but i don't have any device to reproduct this issue. |
See this topic:
http://stackoverflow.com/questions/28842039/cocos2d-x-android-5-0-clipping-node-not-working
The text was updated successfully, but these errors were encountered: