summaryrefslogtreecommitdiff
path: root/hwc/rgz_2d.c
diff options
context:
space:
mode:
Diffstat (limited to 'hwc/rgz_2d.c')
-rw-r--r--hwc/rgz_2d.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hwc/rgz_2d.c b/hwc/rgz_2d.c
index 3814118..7717599 100644
--- a/hwc/rgz_2d.c
+++ b/hwc/rgz_2d.c
@@ -1279,10 +1279,9 @@ static int rgz_hwc_subregion_blit(blit_hregion_t *hregion, int sidx, rgz_out_par
if (first) {
first = 0;
- batchflags |= BVBATCH_DST | BVBATCH_SRC2 | \
- BVBATCH_SRC2RECT_ORIGIN | BVBATCH_SRC2RECT_SIZE;
+ batchflags |= BVBATCH_SRC2 | BVBATCH_SRC2RECT_ORIGIN;
}
- batchflags |= BVBATCH_SRC1;
+ batchflags |= BVBATCH_SRC1 | BVBATCH_SRC1RECT_ORIGIN;
if (rgz_hwc_scaled(layer))
batchflags |= BVBATCH_SRC1RECT_ORIGIN | BVBATCH_SRC1RECT_SIZE;
rgz_batch_entry(e, BVFLAG_BATCH_CONTINUE, batchflags);