cocos2d-x
cocos2d-x copied to clipboard
v4 fix to stop iOS from converting an image into non-premultiplied alpha on save
RenderTexture has explicit methods to save an image with pre-multiplied alpha (PMA) or without PMA. Saving with PMA is forcefully converted to non-PMA by the current implementation on iOS, which is not the correct functionality.
Refer to #20613