Skip to content

Commit

Permalink
Merge pull request EasyRPG#1077 from Ghabry/issue-898
Browse files Browse the repository at this point in the history
Fix lack of transparency after rotating
  • Loading branch information
carstene1ns committed Nov 14, 2016
2 parents 6dcc95f + 0ed3985 commit c8f1c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bitmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ void Bitmap::TransformBlit(Rect const& dst_rect, Bitmap const& src, Rect const&

pixman_image_t* mask = CreateMask(opacity, src.GetRect(), &xform);

pixman_image_composite32(src.GetOperator(mask),
pixman_image_composite32(PIXMAN_OP_OVER,
src.bitmap, mask, bitmap,
dst_rect.x, dst_rect.y,
dst_rect.x, dst_rect.y,
Expand Down

0 comments on commit c8f1c34

Please sign in to comment.