summaryrefslogtreecommitdiffstats
path: root/hwc
diff options
context:
space:
mode:
Diffstat (limited to 'hwc')
-rw-r--r--hwc/hwc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index 7e2e544..4e67a70 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -1848,7 +1848,7 @@ static int omap4_hwc_prepare(struct hwc_composer_device *dev, hwc_layer_list_t*
* This is needed because if we blit all we would lose the handle of
* the first layer
*/
- if (hwc_dev->blit_num == 0) {
+ if (hwc_dev->use_sgx) {
hwc_dev->buffers[0] = NULL;
}
omap4_hwc_setup_layer_base(&dsscomp->ovls[0].cfg, fb_z,