am b8e3c56c: am afff0dae: copybit: hack to always request premultiplied alpha blend.
Merge commit 'b8e3c56c4b9045b16401698e46be40b6e7b454e0' * commit 'b8e3c56c4b9045b16401698e46be40b6e7b454e0': copybit: hack to always request premultiplied alpha blend.
This commit is contained in:
@@ -192,7 +192,7 @@ static void set_rects(struct copybit_context_t *dev,
|
||||
static void set_infos(struct copybit_context_t *dev, struct mdp_blit_req *req) {
|
||||
req->alpha = dev->mAlpha;
|
||||
req->transp_mask = MDP_TRANSP_NOP;
|
||||
req->flags = dev->mFlags;
|
||||
req->flags = dev->mFlags | MDP_BLEND_FG_PREMULT;
|
||||
}
|
||||
|
||||
/** copy the bits */
|
||||
|
Reference in New Issue
Block a user