diff options
Diffstat (limited to 'hwcomposer/hwc.c')
-rw-r--r-- | hwcomposer/hwc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hwcomposer/hwc.c b/hwcomposer/hwc.c index 83e0d46..5344a53 100644 --- a/hwcomposer/hwc.c +++ b/hwcomposer/hwc.c @@ -240,7 +240,8 @@ static int hwc_prepare_for_display(omap_hwc_device_t *hwc_dev, int disp) for (i = 0; i < list->numHwLayers; i++) { hwc_layer_1_t *layer = &list->hwLayers[i]; - if (hwc_dev->num_ovls < comp->avail_ovls && layer->handle && + + if (hwc_dev->num_ovls < comp->avail_ovls && layer->handle && 0 && (disp == HWC_DISPLAY_PRIMARY) && is_nv12_layer(layer) && !comp->use_sgx && can_dss_render_layer(hwc_dev, disp, layer) && (!hwc_dev->force_sgx || |