summaryrefslogtreecommitdiffstats
path: root/hwc
diff options
context:
space:
mode:
Diffstat (limited to 'hwc')
-rw-r--r--hwc/hwc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index c4da67d..4d60e9d 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -273,6 +273,10 @@ omap4_hwc_setup_layer(omap4_hwc_device_t *hwc_dev, struct dss2_ovl_info *ovl,
//dump_layer(layer);
+ if (format == HAL_PIXEL_FORMAT_BGRA_8888 && !is_BLENDED(layer->blending)) {
+ format = HAL_PIXEL_FORMAT_BGRX_8888;
+ }
+
omap4_hwc_setup_layer_base(oc, index, format, width, height);
/* convert transformation - assuming 0-set config */