We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
cant't save correct frame image on some devices
cant't save correct frame image on some devices
Bug #3088 [Closed]
Redmine issue system is closed, we are using github issue system instead.
This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8241
Status: | Closed | |
---|---|---|
Start date: | 2013-10-30 | |
Priority: | Low | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | - | |
Target version: | - |
I want to save my game screen in a jpg file when click a button using this way:
1.in the button click callback function,using glPixelStorei, glReadPixels.
2.then initWithImageData a CCImage from the memory.
3.call CCImage::saveToFile().
it work fine on most of the devices,but the image file is black when i using GT-I9100.