Skip to content

Commit

Permalink
Fix blender
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Oct 21, 2016
1 parent b63ae2e commit 4962922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion APNGKit/Frame.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ struct Frame {
}

if let imageRef = CGImageCreate(width, height, bits, bits * 4, bytesInRow, CGColorSpaceCreateDeviceRGB(),
[CGBitmapInfo.ByteOrder32Big, CGBitmapInfo(rawValue: blend ? CGImageAlphaInfo.Last.rawValue : CGImageAlphaInfo.PremultipliedLast.rawValue)],
[CGBitmapInfo.ByteOrder32Big, CGBitmapInfo(rawValue: blend ? CGImageAlphaInfo.PremultipliedLast.rawValue : CGImageAlphaInfo.Last.rawValue)],
provider, nil, false, .RenderingIntentDefault)
{
image = UIImage(CGImage: imageRef, scale: scale, orientation: .Up)
Expand Down

0 comments on commit 4962922

Please sign in to comment.