Skip to content

Commit 21bf818

Browse files
rh101minggo
authored andcommitted
Update 3rd party lib references (#19959)
* Added RenderTexture::saveToFileAsNonPMA() to save images without PMA. Set the PMA parameter to true when calling initWithRawData() inside RenderTexture::newImage(), since textures are PMA. Renamed Image::premultipliedAlpha() to Image::premultiplyAlpha() to better reflect it's action, and made it public. Added Image::reversePremultipliedAlpha() to allow the reversing of the PMA. Updated CCImage-ios.mm to set the correct bitmapInfo for PMA and non-PMA images before saving a file. Updated RenderTextureTest::RenderTextureSave() to cater for non-PMA file saving. * [CCImage-ios.mm] Fixed indentation. * Update to v3-deps-159
1 parent 3d60bb1 commit 21bf818

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: external/config.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"version": "v3-deps-158",
3-
"zip_file_size": "141265643",
2+
"version": "v3-deps-159",
3+
"zip_file_size": "141133955",
44
"repo_name": "cocos2d-x-3rd-party-libs-bin",
55
"repo_parent": "https://github.com/cocos2d/",
66
"move_dirs": {

0 commit comments

Comments
 (0)