Skip to content

Commit

Permalink
Update 3rd party lib references (#19959)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
rh101 authored and minggo committed Jul 23, 2019
1 parent 3d60bb1 commit 21bf818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "v3-deps-158",
"zip_file_size": "141265643",
"version": "v3-deps-159",
"zip_file_size": "141133955",
"repo_name": "cocos2d-x-3rd-party-libs-bin",
"repo_parent": "https://github.com/cocos2d/",
"move_dirs": {
Expand Down

0 comments on commit 21bf818

Please sign in to comment.